diff mbox

[U-Boot] led: loop through all leds

Message ID 1303343572-19972-9-git-send-email-jkridner@beagleboard.org
State Not Applicable
Headers show

Commit Message

Jason Kridner April 20, 2011, 11:52 p.m. UTC
'led all on|off' requires this patch.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
---
 common/cmd_led.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/common/cmd_led.c b/common/cmd_led.c
index 90cf043..ab85dc6 100644
--- a/common/cmd_led.c
+++ b/common/cmd_led.c
@@ -108,7 +108,6 @@  int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 			} else {
 				__led_set(led_commands[i].mask, state);
 			}
-			break;
 		}
 	}