Re: [PATCH v2] iio: frequency: adf4350: Replace indio_dev->mlock with own device lock

2020-09-16 Thread Jonathan Cameron
On Wed, 16 Sep 2020 12:27:31 +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. > The lock protect the state of the device from potential concurrent writes. > The device is configured via

[PATCH v2] iio: frequency: adf4350: 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. The lock protect the state of the device from potential concurrent writes. The device is configured via a sequence of SPI writes, and this lock is meant to prevent the start of