Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755714Ab0D0NUy (ORCPT ); Tue, 27 Apr 2010 09:20:54 -0400 Received: from mail.atmel.fr ([81.80.104.162]:55146 "EHLO atmel-es2.atmel.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755693Ab0D0NUw (ORCPT ); Tue, 27 Apr 2010 09:20:52 -0400 From: Nicolas Ferre To: haavard.skinnemoen@atmel.com, linux-arm-kernel@lists.infradead.org, akpm@linux-foundation.org, linux-mmc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel@avr32linux.org, Nicolas Ferre Subject: [PATCH 1/4] MMC: atmel-mci: fix two parameters swapped Date: Tue, 27 Apr 2010 16:36:26 +0200 Message-Id: X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1271671952-29204-1-git-send-email-nicolas.ferre@atmel.com> References: <1271671952-29204-1-git-send-email-nicolas.ferre@atmel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1222 Lines: 37 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 Signed-off-by: Nicolas Ferre --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/