mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mmc: atmel-mci: fix two parameters swapped
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]>
This commit is contained in:
parent
34441427aa
commit
ebb1fea9b3
1 changed files with 2 additions and 2 deletions
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue