projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3af9d15
)
mmc: dw_mmc-pci: get resources from a proper BAR
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Thu, 8 Aug 2013 10:44:57 +0000
(13:44 +0300)
committer
Chris Ball
<cjb@laptop.org>
Sun, 25 Aug 2013 04:10:05 +0000
(
00:10
-0400)
There is a typo when the mapped space is from BAR 2, but BAR 0 is
used instead. This patch fixes the typo.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Prabu Thangamuthu <Prabu.T@synopsys.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc-pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/dw_mmc-pci.c
b/drivers/mmc/host/dw_mmc-pci.c
index b456b0c3523140d9763b0e84e9ca55eccf385a62..7d148d68e49448405d800855f83bef03198ee53c 100644
(file)
--- a/
drivers/mmc/host/dw_mmc-pci.c
+++ b/
drivers/mmc/host/dw_mmc-pci.c
@@
-59,7
+59,7
@@
static int dw_mci_pci_probe(struct pci_dev *pdev,
if (ret)
return ret;
- host->regs = pcim_iomap_table(pdev)[
0
];
+ host->regs = pcim_iomap_table(pdev)[
PCI_BAR_NO
];
ret = dw_mci_probe(host);
if (ret)