Re: [PATCH] iio: dac: ad5360: Replace indio_dev->mlock with own device lock

2020-05-16 Thread Jonathan Cameron
On Thu, 14 May 2020 11:39:19 +0300 Sergiu Cuciurean wrote: > As part of the general cleanup of indio_dev->mlock, this change replaces > it with a local lock on the device's state structure. > This also changes some internal functions to pass the pointer to the > state-struct vs a ref to indio_dev

[PATCH] iio: dac: ad5360: Replace indio_dev->mlock with own device lock

2020-05-14 Thread Sergiu Cuciurean
As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock on the device's state structure. This also changes some internal functions to pass the pointer to the state-struct vs a ref to indio_dev just to access the state-struct again. Signed-off-by: Sergiu Cuciur