[U-Boot] [PATCH] led: loop through all leds

Jason Kridner jkridner at beagleboard.org
Thu Apr 21 01:52:32 CEST 2011


'led all on|off' requires this patch.

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

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;
 		}
 	}
 
-- 
1.5.6.4



More information about the U-Boot mailing list