summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorBeniamin Bia <beniamin.bia@analog.com>2019-11-04 18:26:34 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-12-08 18:07:40 +0000
commit341826a065660d1b77d89e6335b6095cd654271c (patch)
treef494e21280beee5787763d0593b2bde169226f0a /drivers/iio/accel
parent2611045e3555cd0d75837ae69ffd70ef51e28bf7 (diff)
downloadlinux-341826a065660d1b77d89e6335b6095cd654271c.tar.gz
linux-341826a065660d1b77d89e6335b6095cd654271c.tar.bz2
linux-341826a065660d1b77d89e6335b6095cd654271c.zip
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>
Diffstat (limited to 'drivers/iio/accel')
0 files changed, 0 insertions, 0 deletions