[PATCH] stable: sheevaplug-setup.c fix LED color name and add support for second LED This is a patch to the sheevaplug-setup.c file that fixes the color name of the existing health LED. That LED gpio 49 is green when off and blue when on. The pat

From: saeed bishara <hidden>
Date: 2011-03-09 14:16:43
Also in: lkml

On Wed, Mar 9, 2011 at 3:27 PM, Robin Becker [off-list ref] wrote:
From: replabrobin <redacted>
please use short subject for this commit, and move the description
into the commit description section
aslo, I would split this to two patches, one fixes the LED color name,
the second for adding the new LED.
?static unsigned int sheevaplug_mpp_config[] __initdata = {
? ? ? ?MPP29_GPIO, ? ? /* USB Power Enable */
- ? ? ? MPP49_GPIO, ? ? /* LED */
+ ? ? ? MPP46_GPIO, ? ? /* RED LED */
+ ? ? ? MPP49_GPIO, ? ? /* BLUE LED */
? ? ? ?0
?};

?static unsigned int sheeva_esata_mpp_config[] __initdata = {
? ? ? ?MPP29_GPIO, ? ? /* USB Power Enable */
? ? ? ?MPP44_GPIO, ? ? /* SD Write Protect */
+ ? ? ? MPP46_GPIO, ? ? /* RED LED */
? ? ? ?MPP47_GPIO, ? ? /* SD Card Detect */
? ? ? ?MPP49_GPIO, ? ? /* LED Green */
please fix the comment as well
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help