diff options
author | Christophe JAILLET <[email protected]> | 2021-08-21 12:37:24 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2021-09-14 12:02:10 +0100 |
commit | bbcf40816b547b3c37af49168950491d20d81ce1 (patch) | |
tree | b5e1a16abc788f88d50af3239180e835c3b71a67 /scripts/gdb/linux/utils.py | |
parent | 9909a395e9807aa79145c9289d0c13d0133359a2 (diff) |
iio: adc128s052: Fix the error handling path of 'adc128_probe()'
A successful 'regulator_enable()' call should be balanced by a
corresponding 'regulator_disable()' call in the error handling path of the
probe, as already done in the remove function.
Update the error handling path accordingly.
Fixes: 913b86468674 ("iio: adc: Add TI ADC128S052")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Alexandru Ardelean <[email protected]>
Link: https://lore.kernel.org/r/85189f1cfcf6f5f7b42d8730966f2a074b07b5f5.1629542160.git.christophe.jaillet@wanadoo.fr
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions