diff options
author | 2025-01-24 16:07:03 +0100 | |
---|---|---|
committer | 2025-02-03 19:30:11 +0000 | |
commit | 21d7241faf406e8aee3ce348451cc362d5db6a02 (patch) | |
tree | 2debdf6ceb83039c45bc8d43c25713f2f8f6a1b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: hid-sensor-prox: Split difference from multiple channels (diff) | |
download | wireguard-linux-21d7241faf406e8aee3ce348451cc362d5db6a02.tar.xz wireguard-linux-21d7241faf406e8aee3ce348451cc362d5db6a02.zip |
iio: adc: ad7192: fix channel select
Channel configuration doesn't work as expected.
For FIELD_PREP the bit mask is needed and not the bit number.
Fixes: 874bbd1219c7 ("iio: adc: ad7192: Use bitfield access macros")
Signed-off-by: Markus Burri <markus.burri@mt.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250124150703.97848-1-markus.burri@mt.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions