summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-08-28 00:52:05 +0300
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-09-01 14:33:27 +0300
commit070a0eed7580a976b397dce981db9746df714327 (patch)
tree1f1833d75533d88e2672b999e52dfefd07509801 /tools/perf/scripts/python
parent68bfcf6debd72121758d6e0fbf75f506126d7b9a (diff)
downloadlinux-070a0eed7580a976b397dce981db9746df714327.tar.xz
leds: lm3532: Avoid potentially unpaired regulator calls
We may currently get unpaired regulator calls when configuring the LED brightness via sysfs in case of regulator calls producing errors. Let's fix this by maintaining local state for enabled. Signed-off-by: Tony Lindgren <tony@atomide.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions