Skip to content
Snippets Groups Projects
Commit 205c2988 authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Lee Jones
Browse files

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: cef8ec8c ("leds: add sgm3140 driver")
Signed-off-by: default avatarOndrej Jirman <megi@xff.cz>
Link: https://lore.kernel.org/r/20240217191133.1757553-1-megi@xff.cz


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 2cd0d1db
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment