linux-yocto/drivers/leds/flash
Ondrej Jirman f28b72162f leds: sgm3140: Add missing timer cleanup and flash gpio control
[ Upstream commit 205c29887a ]

Enabling strobe and then setting brightness to 0 causes the driver to enter
invalid state after strobe end timer fires. We should cancel strobe mode
resources when changing brightness (aka torch mode).

Fixes: cef8ec8cbd ("leds: add sgm3140 driver")
Signed-off-by: Ondrej Jirman <megi@xff.cz>
Link: https://lore.kernel.org/r/20240217191133.1757553-1-megi@xff.cz
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:21:31 -04:00
..
Kconfig
leds-aat1290.c
leds-as3645a.c
leds-ktd2692.c
leds-lm3601x.c
leds-max77693.c
leds-rt4505.c
leds-rt8515.c
leds-sgm3140.c
Makefile