The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* arm: mach-kirkwood: Make the red led available on the eSATA SheevaPlug
@ 2011-04-16 22:08 Sean Young
  2011-04-18  9:25 ` Robin Becker
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Young @ 2011-04-16 22:08 UTC (permalink / raw)
  To: Robin Becker, Nicolas Pitre, Peter Korsgaard, linux-kernel

After this patch:

        7780c80 arm: mach-kirkwood: add led in sheevaplug-setup.c

On a eSATA SheevaPlug, neither the red nor the green led can be controlled,
since probing fails with:

[    6.188278] leds-gpio: probe of leds-gpio failed with error -22

Signed-off-by: Sean Young <sean@mess.org>

diff --git a/arch/arm/mach-kirkwood/sheevaplug-setup.c b/arch/arm/mach-kirkwood/sheevaplug-setup.c
index 17de0bf..92db979 100644
--- a/arch/arm/mach-kirkwood/sheevaplug-setup.c
+++ b/arch/arm/mach-kirkwood/sheevaplug-setup.c
@@ -94,6 +94,7 @@ static unsigned int sheevaplug_mpp_config[] __initdata = {
 static unsigned int sheeva_esata_mpp_config[] __initdata = {
 	MPP29_GPIO,	/* USB Power Enable */
 	MPP44_GPIO,	/* SD Write Protect */
+	MPP46_GPIO,	/* LED Red */
 	MPP47_GPIO,	/* SD Card Detect */
 	MPP49_GPIO,	/* LED Green */
 	0

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

end of thread, other threads:[~2011-04-18 16:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16 22:08 arm: mach-kirkwood: Make the red led available on the eSATA SheevaPlug Sean Young
2011-04-18  9:25 ` Robin Becker
2011-04-18 11:36   ` Sean Young
2011-04-18 16:27     ` Nicolas Pitre

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