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

2020-09-17 Thread Jonathan Cameron
On Wed, 16 Sep 2020 12:29:28 +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 v2] iio: adc: fsl-imx25-gcq: Replace indio_dev->mlock with own device lock

2020-09-16 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