diff options
author | Marco Felsch <[email protected]> | 2019-09-17 18:09:23 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2019-10-09 19:11:29 +0100 |
commit | c62dd44901cfff12acc5792bf3d2dec20bcaf392 (patch) | |
tree | 81acb5a81250978ed8ac40c461d5aca5582b26c2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 7fd1c2606508eb384992251e87d50591393a48d0 (diff) |
iio: adc: ad799x: fix probe error handling
Since commit 0f7ddcc1bff1 ("iio:adc:ad799x: Write default config on probe
and reset alert status on probe") the error path is wrong since it
leaves the vref regulator on. Fix this by disabling both regulators.
Fixes: 0f7ddcc1bff1 ("iio:adc:ad799x: Write default config on probe and reset alert status on probe")
Signed-off-by: Marco Felsch <[email protected]>
Reviewed-by: Alexandru Ardelean <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions