From: Andy Shevchenko Date: Thu, 8 Aug 2013 10:44:58 +0000 (+0300) Subject: mmc: dw_mmc-pci: enable bus-mastering mode X-Git-Tag: v3.12-rc1~69^2~15 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=638585f6842ad0478f72c2cd59fa31f166eef2cd;p=linux.git 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 Acked-by: Seungwon Jeon Tested-by: Prabu Thangamuthu Signed-off-by: Chris Ball --- 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;