diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-10-07 10:26:42 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-15 22:11:07 +0200 |
commit | c991bf9b650f39481cf3c1137092d4754a2c75de (patch) | |
tree | 44d5814ea986511ece954ab0b627821c7ada2bea /crypto/async_tx | |
parent | dt-bindings: iio: maxbotix,mb1232.yaml: transform to yaml (diff) | |
download | linux-c991bf9b650f39481cf3c1137092d4754a2c75de.tar.xz 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 'crypto/async_tx')
0 files changed, 0 insertions, 0 deletions