diff options
author | Ondrej Jirman <[email protected]> | 2024-02-17 20:11:30 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-03-07 08:48:12 +0000 |
commit | 205c29887a333ee4b37596e6533373e38cb23947 (patch) | |
tree | d0d3a3121adc89099bce77bc98a1227e57de8e0a /tools/perf/util/trace-event-scripting.c | |
parent | 2cd0d1db31e78a63553876f8e6a4c9dcc1f9c061 (diff) |
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: cef8ec8cbd21 ("leds: add sgm3140 driver")
Signed-off-by: Ondrej Jirman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions