Re: [PATCH 06/10] iio: imu: adis: protect initial startup routine with state lock

2019-10-06 Thread Jonathan Cameron
On Thu, 26 Sep 2019 14:18:08 +0300 Alexandru Ardelean wrote: > The initial startup routine is called by some ADIS drivers during probe, > and before registering with IIO. Normally, userspace should not be able to > do any access to the device (as there shouldn't be any available). > > This

[PATCH 06/10] iio: imu: adis: protect initial startup routine with state lock

2019-09-26 Thread Alexandru Ardelean
The initial startup routine is called by some ADIS drivers during probe, and before registering with IIO. Normally, userspace should not be able to do any access to the device (as there shouldn't be any available). This change extends the state lock to the entire initial-startup routine.