]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: led: bcm6858: set the correct led polarity register
authorSteven Lawrance <steven.lawrance@softathome.com>
Thu, 29 Oct 2020 17:27:34 +0000 (18:27 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commit989068786beddfd1049f67b8db26ff366191da5b
tree232e3a5d0822e276b17bb305e3e9602f1562b490
parent4db898b18f13e3e450a9bd59abc9eef143484ed5
drivers: led: bcm6858: set the correct led polarity register

This change sets the output (hardware) polarity register instead of the
input (software) polarity register for the bcm6858 LED controller.  The
logic was inverted (a LED configued active high behaved as active low).

Signed-off-by: Steven Lawrance <steven.lawrance@softathome.com>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
drivers/led/led_bcm6858.c