diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-10-08 16:05:39 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-12 10:39:21 (GMT) |
commit | a673f99884e355284eba0d6ffa82bc8ec5365554 (patch) | |
tree | ea9482f730133229beef03ba12e333d2376ca48b /drivers/iio/common | |
parent | fc322290fc06e53aa515f7db575f9a6c3eb84029 (diff) | |
download | linux-a673f99884e355284eba0d6ffa82bc8ec5365554.tar.xz |
staging: iio: ad7606: fix improper setting of oversampling pins
commit b321a38d2407c7e425c54bc09be909a34e49f740 upstream.
The oversampling ratio is controlled using the oversampling pins,
OS [2:0] with OS2 being the MSB control bit, and OS0 the LSB control
bit.
The gpio connected to the OS2 pin is not being set correctly, only OS0
and OS1 pins are being set. Fix the typo to allow proper control of the
oversampling pins.
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Fixes: b9618c0 ("staging: IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4")
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions