Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os 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>

authored by

Andy Shevchenko and committed by
Chris Ball
638585f6 afeb52d6

+2
+2
drivers/mmc/host/dw_mmc-pci.c
··· 61 61 62 62 host->regs = pcim_iomap_table(pdev)[PCI_BAR_NO]; 63 63 64 + pci_set_master(pdev); 65 + 64 66 ret = dw_mci_probe(host); 65 67 if (ret) 66 68 return ret;