summaryrefslogtreecommitdiffstats
path: root/crypto/lz4.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2019-10-07 10:26:42 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-10-15 22:11:07 +0200
commitc991bf9b650f39481cf3c1137092d4754a2c75de (patch)
tree44d5814ea986511ece954ab0b627821c7ada2bea /crypto/lz4.c
parentdt-bindings: iio: maxbotix,mb1232.yaml: transform to yaml (diff)
downloadlinux-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/lz4.c')
0 files changed, 0 insertions, 0 deletions