summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-07-29 17:00:18 +0700
committerMark Brown <broonie@kernel.org>2026-07-30 19:26:45 +0100
commite95a0a309ca02bf26dc937cdeb3fe2a235c65f63 (patch)
treefeba3c78cd2ffa2b42800dcf3c923ac71bcc07db /tools/perf/scripts/python/event_analyzing_sample.py
parent623d9a55685c52b10b995d8dbde9da6283170220 (diff)
regulator: rt6245: Restore state on enable failure
Currently, if regcache_sync() fails after the enable GPIO has been asserted, the driver returns with enable_gpio still set high and regcache_cache_only() left disabled. This leaves the device state inconsistent with the disabled state, where the enable GPIO is low and cache_only is enabled. On failure, restore the original state by setting cache_only back to true and driving the enable GPIO low before returning the error. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260729100018.66577-1-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions