diff options
author | Angelo Compagnucci <[email protected]> | 2020-09-01 11:32:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-09-01 16:08:07 +0200 |
commit | a139ffa40f0c24b753838b8ef3dcf6ad10eb7854 (patch) | |
tree | 69c32eccfa282473ca3d067aa16a8b6cdbb9f45a /tools/perf/util/trace-event-scripting.c | |
parent | c96711e138444d37d6d8b3f0fa7f09e4917cd326 (diff) |
iio: adc: mcp3422: fix locking on error path
Reading from the chip should be unlocked on error path else the lock
could never being released.
Fixes: 07914c84ba30 ("iio: adc: Add driver for Microchip MCP3422/3/4 high resolution ADC")
Fixes: 3f1093d83d71 ("iio: adc: mcp3422: fix locking scope")
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Angelo Compagnucci <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions