Searched hist:da8091f8acfa953ac55e2aa8d4218e49b18206a7 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/iio/adc/ |
H A D | ltc2497.h | diff da8091f8acfa953ac55e2aa8d4218e49b18206a7 Tue Oct 04 08:48:58 CDT 2022 Nuno Sá <nuno.sa@analog.com> iio: adc: ltc2947-core: 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-6-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|
H A D | ltc2497-core.c | diff da8091f8acfa953ac55e2aa8d4218e49b18206a7 Tue Oct 04 08:48:58 CDT 2022 Nuno Sá <nuno.sa@analog.com> iio: adc: ltc2947-core: 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-6-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|