[PATCH v2 07/16] iio: adc: rockchip_saradc: do not use internal iio_dev lock

Heiko Stübner heiko at sntech.de
Wed Oct 5 00:44:37 PDT 2022


Am Dienstag, 4. Oktober 2022, 15:49:00 CEST schrieb Nuno Sá:
> 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 at analog.com>

Acked-by: Heiko Stuebner <heiko at sntech.de>





More information about the linux-amlogic mailing list