diff options
author | David Lechner <dlechner@baylibre.com> | 2023-10-06 03:50:18 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-10-11 17:54:40 +0300 |
commit | d97d11c70f25726fc21b2b2f1a26e16ac96a8ccf (patch) | |
tree | e116e896e00d77ef28aceb56ad54f6588a17a3f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6eb14ffa1873d756b9141837720ff70f07d849f1 (diff) | |
download | linux-d97d11c70f25726fc21b2b2f1a26e16ac96a8ccf.tar.xz |
staging: iio: resolver: ad2s1210: do not use fault register for dummy read
When reading registers on the AD2S1210 chip, we have to supply a "dummy"
address for the second SPI tx byte so that we don't accidentally write
to a register. This register will be read and the value discarded on the
next regmap read or write call.
Reading the fault register has a side-effect of clearing the faults
so we should not use this register for the dummy read.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231005-ad2s1210-mainline-v4-1-ec00746840fc@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions