Home
last modified time | relevance | path

Searched hist:"341826 a065660d1b77d89e6335b6095cd654271c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dad7606.cdiff 341826a065660d1b77d89e6335b6095cd654271c Mon Nov 04 10:26:34 CST 2019 Beniamin Bia <beniamin.bia@analog.com> iio: adc: ad7606: fix reading unnecessary data from device

When a conversion result is being read from ADC, the driver reads the
number of channels + 1 because it thinks that IIO_CHAN_SOFT_TIMESTAMP
is also a physical channel. This patch fixes this issue.

Fixes: 2985a5d88455 ("staging: iio: adc: ad7606: Move out of staging")
Reported-by: Robert Wörle <rwoerle@mibtec.de>
Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>