diff options
| author | Matti Vaittinen <mazziesaccount@gmail.com> | 2026-08-10 10:50:21 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-08-31 00:52:40 +0100 |
| commit | edd56c01d174153bf90160279742ff6f3ad27a93 (patch) | |
| tree | 35deeedfd7a68fab2577275f1c35519deb7e8236 /tools/lib/python | |
| parent | 0d3f6b5e639f0bca5c1466ec523a94ec4f9f4c24 (diff) | |
| download | linux-next-edd56c01d174153bf90160279742ff6f3ad27a93.tar.gz linux-next-edd56c01d174153bf90160279742ff6f3ad27a93.zip | |
iio: adc: rohm-bd79124: Fix channel initialization
The alarm limit register on BD79124 span to two consecutive registers.
The first register for high-limit containing also hysteresis
configuration. The initialization in driver writes only one 8-bit
register, overwriting the hysteresis and leaving the other limit
register uninitialized.
Fix the limit initialization by using the bd79124_write_int_to_reg(),
which correctly initializes the limit on both of the registers.
Fixes: 3f57a3b9ab74 ("iio: adc: Support ROHM BD79124 ADC")
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
