diff options
| author | Alison Schofield <[email protected]> | 2017-03-09 12:46:24 -0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-03-13 21:20:24 +0000 |
| commit | 4b88e516a6a304eac79caa81f0bc5f712894cd69 (patch) | |
| tree | 8a7a7beae4b42c32d7c5881a4275991c45f4930a /tools/perf/scripts/python/bin | |
| parent | 0a124e98f4a5b9b03950af02a57a067ccc1016c1 (diff) | |
staging: iio: ad9832: 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: Alison Schofield <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions