forked from Minki/linux
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>
This commit is contained in:
parent
afeb52d6b5
commit
638585f684
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user