From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [For-master PATCH 2/2] at91sam9x5ek: fix wp_pin and detect_pin pin invalid value
Date: Sun, 27 Jan 2013 14:58:50 +0100 [thread overview]
Message-ID: <1359295130-31690-2-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1359295130-31690-1-git-send-email-plagnioj@jcrosoft.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
arch/arm/boards/at91sam9x5ek/init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/at91sam9x5ek/init.c b/arch/arm/boards/at91sam9x5ek/init.c
index 5e11241..2cbaa8c 100644
--- a/arch/arm/boards/at91sam9x5ek/init.c
+++ b/arch/arm/boards/at91sam9x5ek/init.c
@@ -125,13 +125,13 @@ static void ek_add_device_eth(void)
static struct atmel_mci_platform_data mci0_data = {
.bus_width = 4,
.detect_pin = AT91_PIN_PD15,
- .wp_pin = 0,
+ .wp_pin = -EINVAL,
};
static void ek_add_device_mci(void)
{
if (at91sam9x5ek_cm_is_vendor(VENDOR_COGENT))
- mci0_data.detect_pin = 0;
+ mci0_data.detect_pin = -EINVAL;
/* MMC0 */
at91_add_device_mci(0, &mci0_data);
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-01-27 14:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-27 13:58 [For-master PATCH 1/2] at91sam9n12: fix wp_pin " Jean-Christophe PLAGNIOL-VILLARD
2013-01-27 13:58 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2013-01-28 7:30 ` Sascha Hauer
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=1359295130-31690-2-git-send-email-plagnioj@jcrosoft.com \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.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