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:
3444142
)
mmc: atmel-mci: fix two parameters swapped
author
Nicolas Ferre
<
[email protected]
>
Tue, 11 May 2010 21:06:48 +0000
(14:06 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 12 May 2010 00:33:41 +0000
(17:33 -0700)
Two parameters were swapped in the calls to atmci_init_slot().
Signed-off-by: Nicolas Ferre <
[email protected]
>
Reported-by: Anders Grahn <
[email protected]
>
Cc: Haavard Skinnemoen <
[email protected]
>
Cc: <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/mmc/host/atmel-mci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/atmel-mci.c
b/drivers/mmc/host/atmel-mci.c
index 88be37d9e9a565c831c7d5ddf4e8832e96f5e899..57d3cb2dbb5f3cc6d218c69505b8d154c6964c47 100644
(file)
--- a/
drivers/mmc/host/atmel-mci.c
+++ b/
drivers/mmc/host/atmel-mci.c
@@
-1751,13
+1751,13
@@
static int __init atmci_probe(struct platform_device *pdev)
ret = -ENODEV;
if (pdata->slot[0].bus_width) {
ret = atmci_init_slot(host, &pdata->slot[0],
-
MCI_SDCSEL_SLOT_A, 0
);
+
0, MCI_SDCSEL_SLOT_A
);
if (!ret)
nr_slots++;
}
if (pdata->slot[1].bus_width) {
ret = atmci_init_slot(host, &pdata->slot[1],
-
MCI_SDCSEL_SLOT_B, 1
);
+
1, MCI_SDCSEL_SLOT_B
);
if (!ret)
nr_slots++;
}