[U-Boot] [PATCH 2/3] led: The gpio_led.c code expects that LED state is from the enum

2013-02-08 Thread Holger Hans Peter Freyther
u-boot is not consistent if state should be 0|1 or of the enum, the GPIO driver expects this to be one of the enum values. Update the caller. Signed-off-by: Holger Hans Peter Freyther hol...@freyther.de --- common/cmd_led.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 2/3] led: The gpio_led.c code expects that LED state is from the enum

2013-02-08 Thread Otavio Salvador
On Fri, Feb 8, 2013 at 7:41 AM, Holger Hans Peter Freyther hol...@freyther.de wrote: u-boot is not consistent if state should be 0|1 or of the enum, the GPIO driver expects this to be one of the enum values. Update the caller. Signed-off-by: Holger Hans Peter Freyther hol...@freyther.de I

[U-Boot] [PATCH 2/3] led: The gpio_led.c code expects that LED state is from the enum

2013-01-18 Thread Holger Hans Peter Freyther
u-boot is not consistent if state should be 0|1 or of the enum, the GPIO driver expects this to be one of the enum values. Update the caller. --- common/cmd_led.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_led.c b/common/cmd_led.c index 7f5ab43..c725f95