diff options
| author | 2022-07-07 17:54:45 +0300 | |
|---|---|---|
| committer | 2022-07-19 09:30:05 +0100 | |
| commit | 06ee60eb507f00fb3643876ec05318c63332dc88 (patch) | |
| tree | 72a298f75f0ee18f12acb953c00b094824e8c388 /include/linux/raid/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | iio: proximity: sx9324: add empty line in front of bullet list (diff) | |
| download | linux-dev-06ee60eb507f00fb3643876ec05318c63332dc88.tar.xz linux-dev-06ee60eb507f00fb3643876ec05318c63332dc88.zip | |
iio: adc: max1027: unlock on error path in max1027_read_single_value()
If max1027_wait_eoc() fails then call iio_device_release_direct_mode()
before returning.
Fixes: a0e831653ef9 ("iio: adc: max1027: Introduce an end of conversion helper")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YsbztVuAXnau2cIZ@kili
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/raid/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
