leds-bcm6328: support second hw blinking interval
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 4 Jun 2020 13:59:05 +0000 (15:59 +0200)
committerPavel Machek <pavel@ucw.cz>
Mon, 22 Jun 2020 08:38:00 +0000 (10:38 +0200)
commite190f57df3c7e7713687905c14e72fbcbd81c5e4
tree2cb6b62f223427fb0509e19efcdd6b20826192dc
parentb5684a73d2e9ce13d253ecb824ecd1e327b63773
leds-bcm6328: support second hw blinking interval

Right now the driver uses only 3 LED modes:
0: On
1: HW Blinking (Interval 1)
3: Off

However, the controller supports a second HW blinking interval, which results
in 4 possible LED modes:
0: On
1: HW Blinking (Interval 1)
2: HW Blinking (Interval 2)
3: Off

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-bcm6328.c