summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/qcom-vadc-common.c
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-10-04 15:49:01 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 19:43:58 +0000
commit8433aa3591afff6f4dc641a2e274e6171f66a4b7 (patch)
treea4ed457a052ee17ef2a94306c0de418f41b2dac3 /drivers/iio/adc/qcom-vadc-common.c
parentbb690935df8dd8f97612b422c669bd1a5fe87096 (diff)
iio: adc: sc27xx_adc: do not use internal iio_dev lock
The iio_device lock is only meant for internal use. Hence define a device local lock to protect against concurrent accesses. While at it, properly include "mutex.h" for mutex related APIs. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20221004134909.1692021-9-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/qcom-vadc-common.c')
0 files changed, 0 insertions, 0 deletions