From: Nicolas Ferre <nicolas.ferre@atmel.com>
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 <nicolas.ferre@atmel.com>
Subject: [PATCH 1/4] MMC: atmel-mci: fix two parameters swapped
Date: Tue, 27 Apr 2010 16:36:26 +0200 [thread overview]
Message-ID: <bfa27c51250b39deeccbf6f3a656db4e0b73ce92.1272378853.git.nicolas.ferre@atmel.com> (raw)
In-Reply-To: <1271671952-29204-1-git-send-email-nicolas.ferre@atmel.com>
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@hd-wireless.se>
Signed-off-by: Nicolas Ferre <nicolas.ferre@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
next prev parent reply other threads:[~2010-04-27 13:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 10:12 [PATCH] MMC: atmel-mci: enable SD high speed support Nicolas Ferre
2010-04-19 9:22 ` Haavard Skinnemoen
2010-04-27 14:36 ` Nicolas Ferre [this message]
2010-04-27 14:36 ` [PATCH 2/4] MMC: atmel-mci: prevent kernel oops while removing card Nicolas Ferre
2010-04-27 14:36 ` [PATCH 3/4] MMC: atmel-mci: remove data error interrupt after xfer Nicolas Ferre
2010-04-27 14:36 ` [PATCH 4/4] MMC: atmel-mci: Add support for SDIO interrupts Nicolas Ferre
2010-04-30 14:32 ` [PATCH] MMC: atmel-mci: fix in debugfs: response value printing Nicolas Ferre
2010-04-27 15:27 ` [PATCH 1/4] MMC: atmel-mci: fix two parameters swapped Sergei Shtylyov
2010-04-27 15:34 ` Nicolas Ferre
2010-04-28 18:22 ` Andrew Morton
2010-04-29 7:45 ` Nicolas Ferre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfa27c51250b39deeccbf6f3a656db4e0b73ce92.1272378853.git.nicolas.ferre@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=akpm@linux-foundation.org \
--cc=haavard.skinnemoen@atmel.com \
--cc=kernel@avr32linux.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®