Re: [PATCH] iio: adc: fsl-imx25-gcq: Replace indio_dev->mlock with own device lock

2020-08-29 Thread Jonathan Cameron
On Wed, 26 Aug 2020 15:06:09 +0300 Alexandru Ardelean wrote: > From: Sergiu Cuciurean > > As part of the general cleanup of indio_dev->mlock, this change replaces > it with a local lock, to protect against any other accesses during the > reading of sample. Reading a sample requires multiple con

[PATCH] iio: adc: fsl-imx25-gcq: Replace indio_dev->mlock with own device lock

2020-08-26 Thread Alexandru Ardelean
From: Sergiu Cuciurean As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock, to protect against any other accesses during the reading of sample. Reading a sample requires multiple consecutive regmap operations and a completion callback, so this requires th