diff options
author | Markus Burri <markus.burri@mt.com> | 2025-01-24 18:07:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-13 15:08:07 +0300 |
commit | 81de68a946403356263e3d9a476e16208c4c4781 (patch) | |
tree | 96e001131bae84ef5aa8774b7997b1d0c8c36fe7 /scripts/generate_rust_analyzer.py | |
parent | e6df127a6b0e875c5b69ed5f615c12ce0e49486a (diff) | |
download | linux-81de68a946403356263e3d9a476e16208c4c4781.tar.xz |
iio: adc: ad7192: fix channel select
commit 21d7241faf406e8aee3ce348451cc362d5db6a02 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions