Skip to content

Commit

Permalink
mmc: dw_mmc-pci: enable bus-mastering mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Shevchenko authored and Chris Ball committed Aug 25, 2013
1 parent afeb52d commit 638585f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mmc/host/dw_mmc-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 638585f

Please sign in to comment.