Commit 638585f6 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Chris Ball

mmc: dw_mmc-pci: enable bus-mastering mode

This patch enables bus-mastering mode for MMC controller to allow IDMAC
transfers.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarSeungwon Jeon <tgih.jun@samsung.com>
Tested-by: default avatarPrabu Thangamuthu <Prabu.T@synopsys.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent afeb52d6
...@@ -61,6 +61,8 @@ static int dw_mci_pci_probe(struct pci_dev *pdev, ...@@ -61,6 +61,8 @@ static int dw_mci_pci_probe(struct pci_dev *pdev,
host->regs = pcim_iomap_table(pdev)[PCI_BAR_NO]; host->regs = pcim_iomap_table(pdev)[PCI_BAR_NO];
pci_set_master(pdev);
ret = dw_mci_probe(host); ret = dw_mci_probe(host);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment