commit | 4f02b50ece11dcf75263fb7a4cfe8a5df1cfabea | [log] [tgz] |
---|---|---|
author | Jonas Gorski <jonas.gorski@gmail.com> | Fri Jun 02 14:17:05 2017 +0200 |
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | Tue Jun 13 20:36:56 2017 +0200 |
tree | eb121bfbeefaebf892c405f14894d3b958faaab9 | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 [diff] |
leds: bcm6328: fix signal source assignment for leds 4 to 7 Each nibble represents 4 LEDs, and in case of the higher register, bit 0 represents LED 4, so we need to use modulus for the LED number as well. Fixes: fd7b025a238d0a5440bfa26c585eb78097bf48dc ("leds: add BCM6328 LED driver") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>