mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci
@ 2013-02-18  9:58 Fabio Porcedda
  2013-02-19  7:32 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Porcedda @ 2013-02-18  9:58 UTC (permalink / raw)
  To: barebox

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/boards/at91sam9260ek/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
index 77ca6bb..dc2976a 100644
--- a/arch/arm/boards/at91sam9260ek/init.c
+++ b/arch/arm/boards/at91sam9260ek/init.c
@@ -156,6 +156,8 @@ static void at91sam9260ek_phy_reset(void)
 static struct atmel_mci_platform_data __initdata ek_mci_data = {
 	.bus_width	= 4,
 	.slot_b		= 1,
+	.detect_pin	= -EINVAL,
+	.wp_pin		= -EINVAL,
 };
 
 static void ek_usb_add_device_mci(void)
-- 
1.8.1.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-19 10:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18  9:58 [PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci Fabio Porcedda
2013-02-19  7:32 ` Sascha Hauer
2013-02-19 10:03   ` Fabio Porcedda
2013-02-19 10:30     ` Fabio Porcedda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox