diff options
| author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-10-07 11:26:42 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-15 21:11:07 +0100 |
| commit | c991bf9b650f39481cf3c1137092d4754a2c75de (patch) | |
| tree | 44d5814ea986511ece954ab0b627821c7ada2bea /tools/perf/scripts/python/bin | |
| parent | dt-bindings: iio: maxbotix,mb1232.yaml: transform to yaml (diff) | |
| download | linux-c991bf9b650f39481cf3c1137092d4754a2c75de.tar.gz linux-c991bf9b650f39481cf3c1137092d4754a2c75de.zip | |
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 <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
