diff options
| author | 2017-03-09 12:46:24 -0800 | |
|---|---|---|
| committer | 2017-03-13 21:20:24 +0000 | |
| commit | 4b88e516a6a304eac79caa81f0bc5f712894cd69 (patch) | |
| tree | 8a7a7beae4b42c32d7c5881a4275991c45f4930a /tools/perf/scripts/python | |
| parent | Staging: iio: return expression instead of return ret (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 <amsfield22@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
