projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afeb52d
)
mmc: dw_mmc-pci: enable bus-mastering mode
author
Andy Shevchenko
<
[email protected]
>
Thu, 8 Aug 2013 10:44:58 +0000
(13:44 +0300)
committer
Chris Ball
<
[email protected]
>
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 <
[email protected]
>
Acked-by: Seungwon Jeon <
[email protected]
>
Tested-by: Prabu Thangamuthu <
[email protected]
>
Signed-off-by: Chris Ball <
[email protected]
>
drivers/mmc/host/dw_mmc-pci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/dw_mmc-pci.c
b/drivers/mmc/host/dw_mmc-pci.c
index 7d148d68e49448405d800855f83bef03198ee53c..f70546a3a7ccd33ac893d4b7734db90abbcbe3dc 100644
(file)
--- 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;