android_kernel_sony_sdm845/drivers/iio/dac
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Hennerich 805df046c9 iio: dac: ad5593r: Fix i2c read protocol requirements
commit 558a25f903b4af6361b7fbeea08a6446a0745653 upstream.

For reliable operation across the full range of supported
interface rates, the AD5593R needs a STOP condition between
address write, and data read (like show in the datasheet Figure 40)
so in turn i2c_smbus_read_word_swapped cannot be used.

While at it, a simple helper was added to make the code simpler.

Fixes: 56ca9db862 ("iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs")
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220913073413.140475-2-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-26 13:15:36 +02:00
..
ad5064.c
ad5360.c
ad5380.c iio: dac: ad5380: fix incorrect assignment to val 2020-01-29 10:24:31 +01:00
ad5421.c
ad5446.c iio: dac: ad5446: Fix read_raw not returning set value 2022-05-12 12:14:54 +02:00
ad5449.c
ad5504.c iio: ad5504: Fix setting power-down state 2021-01-30 13:27:14 +01:00
ad5592r-base.c iio: dac: ad5592r: Fix the missing return value. 2022-05-12 12:14:53 +02:00
ad5592r-base.h
ad5592r.c
ad5593r.c iio: dac: ad5593r: Fix i2c read protocol requirements 2022-10-26 13:15:36 +02:00
ad5624r.h
ad5624r_spi.c iio: dac: ad5624r: Fix incorrect handling of an optional regulator. 2021-09-22 11:43:04 +02:00
ad5686.c
ad5755.c
ad5761.c
ad5764.c
ad5791.c
ad7303.c
ad8801.c
cio-dac.c
Kconfig
lpc18xx_dac.c
m62332.c
Makefile
max517.c
max5821.c
mcp4725.c
mcp4922.c
vf610_dac.c iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()' 2020-05-27 16:42:02 +02:00