summaryrefslogtreecommitdiff
path: root/Documentation/sparc
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2022-09-13 10:34:12 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-09-21 20:42:53 +0300
commit558a25f903b4af6361b7fbeea08a6446a0745653 (patch)
tree8ab524558c08a3604ba5e9d511f0f5f4660c6435 /Documentation/sparc
parentd9d0c0725ae2798bd51f38ae26c2477f6eed40b3 (diff)
downloadlinux-558a25f903b4af6361b7fbeea08a6446a0745653.tar.xz
iio: dac: ad5593r: Fix i2c read protocol requirements
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: 56ca9db862bf ("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>
Diffstat (limited to 'Documentation/sparc')
0 files changed, 0 insertions, 0 deletions