led: Fixed setting of STATUS_LED_BIT1 when led_name is 'all'
authorJoel A Fernandes <agnel.joel@gmail.com>
Fri, 12 Aug 2011 00:10:19 +0000 (19:10 -0500)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:22 +0000 (11:36 +0200)
commitd604cda34ab2190fb07a1134bb488105e1a2f9c3
treed154d0c48f92a13144055f212456384abd6f0fda
parent4086b51cb7eac451f96130affbc17094a9e7b75a
led: Fixed setting of STATUS_LED_BIT1 when led_name is 'all'

Fix for only one led getting set or reset when the led_name is 'all'

Previous discussion:
http://lists.denx.de/pipermail/u-boot/2011-May/093068.html

Changes since v1:
Fixed checkpatch if statement error noticed by Sergei.

Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
common/cmd_led.c