linux_dsm_epyc7002/drivers/iio/dac
Alexandru Ardelean c991bf9b65 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>
2019-10-15 21:11:07 +01:00
..
ad5064.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5360.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5380.c iio: dac: ad5380: fix incorrect assignment to val 2019-09-03 18:55:50 +01:00
ad5421.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5446.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
ad5449.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5504.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5592r-base.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5592r-base.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5592r.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5593r.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5624r_spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5624r.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5686-spi.c drivers: iio: dac: Fix wrong license for ADI drivers 2019-02-09 18:46:01 +00:00
ad5686.c drivers: iio: dac: Fix wrong license for ADI drivers 2019-02-09 18:46:01 +00:00
ad5686.h drivers: iio: dac: Fix wrong license for ADI drivers 2019-02-09 18:46:01 +00:00
ad5696-i2c.c drivers: iio: dac: Fix wrong license for ADI drivers 2019-02-09 18:46:01 +00:00
ad5755.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5758.c iio: dac: ad5758: remove set but not used variable 'dc_dc_mode' 2019-04-27 14:15:39 +01:00
ad5761.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5764.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad5791.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
ad7303.c iio: dac: ad7303: replace mlock with own lock 2019-10-15 21:11:07 +01:00
ad8801.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
cio-dac.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
dpot-dac.c iio: dpot-dac: mark expected switch fall-through with text GCC expects. 2018-10-14 18:01:00 +01:00
ds4424.c Merge 5.2-rc6 into staging-next 2019-06-23 13:29:03 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
lpc18xx_dac.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ltc1660.c iio: dac: add support for ltc1660 2018-08-25 09:24:07 +01:00
ltc2632.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
m62332.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
Makefile iio:dac:ti-dac7612: Add driver for Texas Instruments DAC7612 2019-02-09 18:46:02 +00:00
max517.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
max5821.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mcp4725.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 330 2019-06-05 17:37:06 +02:00
mcp4922.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
stm32-dac-core.c iio: dac: stm32: add power management support 2019-10-15 21:11:06 +01:00
stm32-dac-core.h iio: stm32: Adopt SPDX identifier 2018-01-08 16:03:41 +01:00
stm32-dac.c iio: dac: stm32: add power management support 2019-10-15 21:11:06 +01:00
ti-dac082s085.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ti-dac5571.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ti-dac7311.c iio:dac:ti-dac7311 Add driver for Texas Instrument DAC7311 2018-11-11 15:29:44 +00:00
ti-dac7612.c iio:dac:ti-dac7612: Add driver for Texas Instruments DAC7612 2019-02-09 18:46:02 +00:00
vf610_dac.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00