Re: [PATCH 03/10] iio: imu: adis[16480]: group RW into a single lock in adis_enable_irq()

2019-10-06 Thread Jonathan Cameron
On Thu, 26 Sep 2019 14:18:05 +0300 Alexandru Ardelean wrote: > The adis_enable_irq() does a read & a write. This change keeps a lock for > the duration of both operations vs for each op. > > The change is also needed in adis16480, since that has it's own > implementation for adis_enable_irq().

[PATCH 03/10] iio: imu: adis[16480]: group RW into a single lock in adis_enable_irq()

2019-09-26 Thread Alexandru Ardelean
The adis_enable_irq() does a read & a write. This change keeps a lock for the duration of both operations vs for each op. The change is also needed in adis16480, since that has it's own implementation for adis_enable_irq(). Signed-off-by: Alexandru Ardelean --- drivers/iio/imu/adis.c | 17