Nuno Sá 7dde7ec2a8 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>
2022-11-23 19:43:57 +00:00
..
2022-07-16 18:50:24 +01:00
2022-09-05 18:08:34 +01:00
2022-01-23 18:03:36 +00:00
2022-09-05 18:08:34 +01:00
2022-07-18 18:29:29 +01:00
2022-08-15 22:29:57 +01:00