diff options
author | David Lechner <[email protected]> | 2023-10-05 19:50:18 -0500 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-10-11 15:54:40 +0100 |
commit | d97d11c70f25726fc21b2b2f1a26e16ac96a8ccf (patch) | |
tree | e116e896e00d77ef28aceb56ad54f6588a17a3f3 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 6eb14ffa1873d756b9141837720ff70f07d849f1 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions