staging:iio:ad7606: Use oversampling ratio of 1 for no oversampling
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 19 Oct 2016 17:07:00 +0000 (19:07 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:34:13 +0000 (19:34 +0100)
commite79e8027c1bb9e5525ad186efef1d89309c378f2
treec0dff6ffefd61806398bae5899849af62e0bc0eb
parentaa9602666894ca02935267c348286b4f1efda186
staging:iio:ad7606: Use oversampling ratio of 1 for no oversampling

Currently the ad7606 driver uses a value of 0 for the oversampling ratio to
express that no oversampling is done. Strictly speaking this means though
that no data capture is done at all. Instead change the driver to use a
value of 1, this is in accordance with what other drivers do and what the
IIO spec suggests.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7606_core.c