]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: dw_mmc-pci: enable bus-mastering mode
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 8 Aug 2013 10:44:58 +0000 (13:44 +0300)
committerChris Ball <cjb@laptop.org>
Sun, 25 Aug 2013 04:10:12 +0000 (00:10 -0400)
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>
drivers/mmc/host/dw_mmc-pci.c

index 7d148d68e49448405d800855f83bef03198ee53c..f70546a3a7ccd33ac893d4b7734db90abbcbe3dc 100644 (file)
@@ -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;