]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: accel: adis16201: remove iio_dev mlock
authorAishwarya Pant <aishpant@gmail.com>
Fri, 17 Mar 2017 21:43:56 +0000 (03:13 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Mar 2017 10:18:34 +0000 (10:18 +0000)
commitde0ebf9be785c8f33c34a99bb30cbe4b21b20774
tree42af5f2498d5c1cf7becd7b8a91c872eff350ece
parentf1b550cc9b8e3f0c678ac2bbad370fee824fe394
staging: iio: accel: adis16201: remove iio_dev mlock

In the driver adis16201 read raw does not require an iio_dev->mlock for
reads. It can run concurrently as adis_read_reg_16() is protected by a
transaction lock.

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/adis16201.c