diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-08-08 06:44:58 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-08-25 00:10:12 -0400 |
commit | 638585f6842ad0478f72c2cd59fa31f166eef2cd (patch) | |
tree | 7ce50ecab7202ac6ccb4a8dd2f1b9a27111db0bd | |
parent | afeb52d6b579ae4ee9bd4b63dac4579b39f8b1c0 (diff) |
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>
-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, | |||
61 | 61 | ||
62 | host->regs = pcim_iomap_table(pdev)[PCI_BAR_NO]; | 62 | host->regs = pcim_iomap_table(pdev)[PCI_BAR_NO]; |
63 | 63 | ||
64 | pci_set_master(pdev); | ||
65 | |||
64 | ret = dw_mci_probe(host); | 66 | ret = dw_mci_probe(host); |
65 | if (ret) | 67 | if (ret) |
66 | return ret; | 68 | return ret; |