diff options
| author | Gargi Sharma <[email protected]> | 2017-03-30 15:03:46 +0530 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-03-30 19:20:38 +0100 |
| commit | b71244b62be470327a59fe940587ccb0811cf8d7 (patch) | |
| tree | f20f84ab971ae91c70005174d18da7a90a66a31e /tools/perf/scripts/python/bin | |
| parent | 5e13b6f0e7cc7e53466d1b62a6d0ccbd7632f71f (diff) | |
staging: iio: update locking method during frequency writes
The driver needs to insure atomicity during frequency
changes of bus and device. The iiodev->mlock as used
was not doing that. Replace it with the drivers existing
buffer lock and introduce an auxiliary spi_write() that does
not hold the lock.
Signed-off-by: Gargi Sharma <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions