]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
led: The gpio_led.c code expects that LED state is from the enum
authorHolger Hans Peter Freyther <holger@freyther.de>
Thu, 7 Feb 2013 23:41:02 +0000 (23:41 +0000)
committerTom Rini <trini@ti.com>
Wed, 20 Feb 2013 13:52:41 +0000 (08:52 -0500)
commit4f47aceb118b291831a603d7e6ca651d76bf88e0
tree067665bfca6ef5d65872747bc4ad6d82c348e894
parent03414ac45e119496e2475aeacbb968bb67da24f8
led: The gpio_led.c code expects that LED state is from the enum

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 <holger@freyther.de>
common/cmd_led.c