linux/drivers/leds/flash
Ondrej Jirman 205c29887a leds: sgm3140: Add missing timer cleanup and flash gpio control
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>
2024-03-07 08:48:12 +00:00
..
Kconfig leds: Make flash and multicolor dependencies unconditional 2024-03-07 08:48:03 +00:00
leds-aat1290.c leds: Convert all platform drivers to return void 2023-11-01 11:28:35 +00:00
leds-as3645a.c leds: as3645a: Replace strlcpy with strscpy 2023-05-25 12:44:25 +01:00
leds-ktd2692.c leds: ktd2692: Convert to use ExpressWire library 2024-03-07 08:45:08 +00:00
leds-lm3601x.c leds: lm3601x: Convert to use maple tree register cache 2023-11-01 11:29:00 +00:00
leds-max77693.c leds: Convert all platform drivers to return void 2023-11-01 11:28:35 +00:00
leds-mt6360.c leds: mt6360: Annotate struct mt6360_priv with __counted_by 2023-11-01 11:28:40 +00:00
leds-mt6370-flash.c leds: mt6370: Annotate struct mt6370_priv with __counted_by 2023-11-01 11:28:41 +00:00
leds-qcom-flash.c leds: Convert all platform drivers to return void 2023-11-01 11:28:35 +00:00
leds-rt4505.c leds: Switch i2c drivers back to use .probe() 2023-05-25 12:16:22 +01:00
leds-rt8515.c leds: Convert all platform drivers to return void 2023-11-01 11:28:35 +00:00
leds-sgm3140.c leds: sgm3140: Add missing timer cleanup and flash gpio control 2024-03-07 08:48:12 +00:00
Makefile leds: flash: mt6370: Add MediaTek MT6370 flashlight support 2023-03-23 14:54:08 +00:00