diff options
| author | Dragos Bogdan <dragos.bogdan@analog.com> | 2019-03-19 12:47:00 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-27 09:34:01 +0200 |
| commit | c69e21be54b4cc2d30125e97335998760c7beaf9 (patch) | |
| tree | 4d8128df32134100b825286fac61c4becd2603c6 /kernel/sysctl_binary.c | |
| parent | e20204c43c0bc2c3f793f7d5c20716748a0db0c7 (diff) | |
iio: ad_sigma_delta: select channel when reading register
commit fccfb9ce70ed4ea7a145f77b86de62e38178517f upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
