From: Sean Young <sean@mess.org>
To: Robin Becker <robin@reportlab.com>,
Nicolas Pitre <nico@fluxnic.net>,
Peter Korsgaard <jacmet@sunsite.dk>,
linux-kernel@vger.kernel.org
Subject: arm: mach-kirkwood: Make the red led available on the eSATA SheevaPlug
Date: Sat, 16 Apr 2011 23:08:42 +0100 [thread overview]
Message-ID: <20110416220842.GA1518@pequod.mess.org> (raw)
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
next reply other threads:[~2011-04-16 22:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-16 22:08 Sean Young [this message]
2011-04-18 9:25 ` arm: mach-kirkwood: Make the red led available on the eSATA SheevaPlug Robin Becker
2011-04-18 11:36 ` Sean Young
2011-04-18 16:27 ` Nicolas Pitre
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=20110416220842.GA1518@pequod.mess.org \
--to=sean@mess.org \
--cc=jacmet@sunsite.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=nico@fluxnic.net \
--cc=robin@reportlab.com \
/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