mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] at91sam9x5ek: switch heartbeat to d2 (pioD21)
@ 2012-12-26 16:33 Jean-Christophe PLAGNIOL-VILLARD
  2012-12-26 16:33 ` [PATCH 2/2] led-gpio: use gpio_request and gpio_free Jean-Christophe PLAGNIOL-VILLARD
  2013-01-02 10:06 ` [PATCH 1/2] at91sam9x5ek: switch heartbeat to d2 (pioD21) Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-12-26 16:33 UTC (permalink / raw)
  To: barebox

as d1 pioB18 is used for the one wire too

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
Hi,

	to be applied before led-gpio switch to gpio_request/free
	otherwise we have a nice crash.

Best Regards,
J.

 arch/arm/boards/at91sam9x5ek/init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/at91sam9x5ek/init.c b/arch/arm/boards/at91sam9x5ek/init.c
index 6d1ebe5..77c3ee3 100644
--- a/arch/arm/boards/at91sam9x5ek/init.c
+++ b/arch/arm/boards/at91sam9x5ek/init.c
@@ -224,7 +224,7 @@ static void __init ek_add_led(void)
 		at91_set_gpio_output(leds[i].gpio, leds[i].active_low);
 		led_gpio_register(&leds[i]);
 	}
-	led_set_trigger(LED_TRIGGER_HEARTBEAT, &leds[0].led);
+	led_set_trigger(LED_TRIGGER_HEARTBEAT, &leds[1].led);
 }
 
 static int at91sam9x5ek_mem_init(void)
-- 
1.7.10.4


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

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-26 16:33 [PATCH 1/2] at91sam9x5ek: switch heartbeat to d2 (pioD21) Jean-Christophe PLAGNIOL-VILLARD
2012-12-26 16:33 ` [PATCH 2/2] led-gpio: use gpio_request and gpio_free Jean-Christophe PLAGNIOL-VILLARD
2013-01-02 10:06 ` [PATCH 1/2] at91sam9x5ek: switch heartbeat to d2 (pioD21) Sascha Hauer

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