Prev: MTD: cfi_cmdset_0002: Add reboot notifier for AMD flashes
Next: ehci_hcd causes immediate wakeup from suspend to RAM or disk on Asus P4P800-VM
From: Nicolas Ferre on 27 Apr 2010 09:30 Two parameters were swapped in the calls to atmci_init_slot(). Two parameters were swapped in the calls to atmci_init_slot(). Their values Reported-by: Anders Grahn <anders.grahn(a)hd-wireless.se> Signed-off-by: Nicolas Ferre <nicolas.ferre(a)atmel.com> --- drivers/mmc/host/atmel-mci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 4338750..321e0bf 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c @@ -1767,13 +1767,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++; } -- 1.5.6.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |