diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-08-08 13:44:58 +0300 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-08-25 00:10:12 -0400 |
commit | 638585f6842ad0478f72c2cd59fa31f166eef2cd (patch) | |
tree | 7ce50ecab7202ac6ccb4a8dd2f1b9a27111db0bd /drivers/mmc/host | |
parent | afeb52d6b579ae4ee9bd4b63dac4579b39f8b1c0 (diff) | |
download | blackbird-op-linux-638585f6842ad0478f72c2cd59fa31f166eef2cd.tar.gz blackbird-op-linux-638585f6842ad0478f72c2cd59fa31f166eef2cd.zip |
mmc: dw_mmc-pci: enable bus-mastering mode
This patch enables bus-mastering mode for MMC controller to allow IDMAC
transfers.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Prabu Thangamuthu <Prabu.T@synopsys.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/dw_mmc-pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc-pci.c b/drivers/mmc/host/dw_mmc-pci.c index 7d148d68e494..f70546a3a7cc 100644 --- a/drivers/mmc/host/dw_mmc-pci.c +++ b/drivers/mmc/host/dw_mmc-pci.c @@ -61,6 +61,8 @@ static int dw_mci_pci_probe(struct pci_dev *pdev, host->regs = pcim_iomap_table(pdev)[PCI_BAR_NO]; + pci_set_master(pdev); + ret = dw_mci_probe(host); if (ret) return ret; |