diff options
| author | Alexandru Ardelean <[email protected]> | 2019-10-07 11:26:42 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-10-15 21:11:07 +0100 |
| commit | c991bf9b650f39481cf3c1137092d4754a2c75de (patch) | |
| tree | 44d5814ea986511ece954ab0b627821c7ada2bea /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | af8dc7bf4ea2bbef4b4b87f3f29c139fe4561d6e (diff) | |
iio: dac: ad7303: replace mlock with own lock
This change replaces indio_dev's mlock with the driver's own lock. The lock
is mostly needed to protect state when changing the `dac_cache` info.
The lock has been extended to `ad7303_read_raw()`, to make sure that the
cache is updated if an SPI-write is already in progress.
Signed-off-by: Alexandru Ardelean <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions