This patch series fixes ad7949 driver incorrectly read data, simplify the code, and enforces device timing constraints. This has been tested on a UltraZed SOM + a custom carrier equipped with several AD7689 A/Ds. Patches have been developed on a Xilinx upstream kernel and then rebased on linux-next kernel. Andrea Merello (4): iio: ad7949: kill pointless "readback"-handling code iio: ad7949: fix incorrect SPI xfer len iio: ad7949: fix SPI xfer delays iio: ad7949: fix channels mixups drivers/iio/adc/ad7949.c | 64 +++++++++++++--------------------------- 1 file changed, 21 insertions(+), 43 deletions(-) -- 2.17.1