diff options
| author | Arushi Singhal <arushisinghal19971997@gmail.com> | 2017-03-20 22:51:34 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-23 22:43:32 +0300 |
| commit | 755d0da465fb870d2972ed19ef32c9da2498e3a1 (patch) | |
| tree | 0695db2f80bf27b3ce950103c1e962475b2fb6cd /include | |
| parent | 64822be434d69b226503f9d319f7a57bdbce2609 (diff) | |
| download | linux-755d0da465fb870d2972ed19ef32c9da2498e3a1.tar.xz | |
staging: ad7606: Replace mlock with driver private lock
The IIO subsystem is redefining iio_dev->mlock to be used by
the IIO core only for protecting device operating mode changes.
ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes.
In this driver, mlock was being used to protect hardware state
changes. Replace it with a lock in the devices global data.
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
