OpenCloudOS-Kernel/drivers/staging/iio
Dragos Bogdan 5e4f99a6b7 staging: iio: ad2s1210: Fix SPI reading
If the serial interface is used, the 8-bit address should be latched using
the rising edge of the WR/FSYNC signal.

This basically means that a CS change is required between the first byte
sent, and the second one.
This change splits the single-transfer transfer of 2 bytes into 2 transfers
with a single byte, and CS change in-between.

Note fixes tag is not accurate, but reflects a point beyond which there
are too many refactors to make backporting straight forward.

Fixes: b19e9ad5e2 ("staging:iio:resolver:ad2s1210 general driver cleanup.")
Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-05-03 12:35:03 +01:00
..
Documentation Documentation: ABI: testing: ad7192: update sysfs docs 2020-03-08 17:28:33 +00:00
accel iio: imu: adis: Add self_test_reg variable 2020-03-08 17:28:30 +00:00
adc staging: iio: adc: ad7280a: Add comments to clarify stringified arguments 2020-03-23 11:45:20 +01:00
addac Second set of IIO device support, features, cleanups and minor fixes for 5.3. 2019-07-01 10:58:13 +02:00
cdc Second set of IIO device support, features, cleanups and minor fixes for 5.3. 2019-07-01 10:58:13 +02:00
frequency staging: iio: ad9834: add a check for devm_clk_get 2019-10-18 20:08:01 +01:00
impedance-analyzer First set of new device support, features and fixes for IIO in the 5.2 cycle 2019-04-04 22:25:29 +02:00
meter Merge 5.1-rc6 into staging-next 2019-04-21 23:18:44 +02:00
resolver staging: iio: ad2s1210: Fix SPI reading 2020-05-03 12:35:03 +01:00
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile staging: iio: Drop ADIS16060 driver from staging 2018-06-10 11:52:31 +01:00
TODO staging: iio: update TODO 2020-03-08 17:28:43 +00:00