summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/lpc32xx_adc.c
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2022-10-04 16:48:56 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 22:43:57 +0300
commit7dde7ec2a84d598eb755883540d48a5ee73948ec (patch)
tree816a101e6034e17045a79053eecf6b49669cb622 /drivers/iio/adc/lpc32xx_adc.c
parented3aa67167bed8825993e6483c6dbeae607c1ff9 (diff)
downloadlinux-7dde7ec2a84d598eb755883540d48a5ee73948ec.tar.xz
iio: adc: imx7d_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> Reviewed-by: Haibo Chen <haibo.chen@nxp.com> Link: https://lore.kernel.org/r/20221004134909.1692021-4-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/lpc32xx_adc.c')
0 files changed, 0 insertions, 0 deletions