]> git.dujemihanovic.xyz Git - u-boot.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)
commite04072536efcbe504596ea980077eb63c52082b0
tree232e3a5d0822e276b17bb305e3e9602f1562b490
parentc904a0b762aedccf603ce492687450efb0e8924c
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