]> www.infradead.org Git - users/jedix/linux-maple.git/commit
leds: pca9532: Explicitly disable hardware blink when PWM1 is unavailable
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Mon, 17 Jun 2024 14:39:09 +0000 (16:39 +0200)
committerLee Jones <lee@kernel.org>
Wed, 26 Jun 2024 16:04:37 +0000 (17:04 +0100)
commitf51bc3cedfc4518101d16d965ab12787cb305366
tree358673ea2a0dd8a27c760da347265e32a0182456
parent48ca7f302cfcfa3d957e2305775532b1d67f5872
leds: pca9532: Explicitly disable hardware blink when PWM1 is unavailable

When a LED is used to drive a beeper, it uses PWM1. This can cause
conflicts if an other LED want to use PWM1 for blinking.

Disable use of hardware for blinking when one or more LEDs are used to
drive beepers.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Link: https://lore.kernel.org/r/20240617143910.154546-4-bastien.curutchet@bootlin.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-pca9532.c