summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-core.c
diff options
context:
space:
mode:
authorDragos Bogdan2019-03-19 11:47:00 +0100
committerJonathan Cameron2019-03-24 18:51:03 +0100
commitfccfb9ce70ed4ea7a145f77b86de62e38178517f (patch)
tree86f711ddce2cd8272766cafabd639538d9885a60 /drivers/iio/industrialio-core.c
parentiio: pms7003: select IIO_TRIGGERED_BUFFER (diff)
downloadkernel-qcow2-linux-fccfb9ce70ed4ea7a145f77b86de62e38178517f.tar.gz
kernel-qcow2-linux-fccfb9ce70ed4ea7a145f77b86de62e38178517f.tar.xz
kernel-qcow2-linux-fccfb9ce70ed4ea7a145f77b86de62e38178517f.zip
iio: ad_sigma_delta: select channel when reading register
The desired channel has to be selected in order to correctly fill the buffer with the corresponding data. The `ad_sd_write_reg()` already does this, but for the `ad_sd_read_reg_raw()` this was omitted. Fixes: af3008485ea03 ("iio:adc: Add common code for ADI Sigma Delta devices") 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>
Diffstat (limited to 'drivers/iio/industrialio-core.c')
0 files changed, 0 insertions, 0 deletions