[PATCH v2 12/16] iio: gyro: itg3200_core: do not use internal iio_dev lock

Jonathan Cameron jic23 at kernel.org
Sun Oct 9 05:10:46 PDT 2022


On Tue, 4 Oct 2022 15:49:05 +0200
Nuno Sá <nuno.sa at analog.com> wrote:

> 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>
Applied, but only pushed out as testing (which will be rebased)
until after rc1.

Jonathan



More information about the Linux-rockchip mailing list