Re: [PATCH 02/12] iio: adc: rohm-bd79124: Fix channel initialization

Jonathan Cameron <[email protected]>
Newsgroups gmane.linux.kernel.iio,gmane.linux.kernel
Message-ID <20260817022331.5250f03a@jic23-huawei>
On Mon, 10 Aug 2026 10:50:21 +0300
Matti Vaittinen <[email protected]> wrote:

> From: Matti Vaittinen <[email protected]>
> 
> 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.
> 
> Signed-off-by: Matti Vaittinen <[email protected]>
> Fixes: 3f57a3b9ab74 ("iio: adc: Support ROHM BD79124 ADC")
Applied and marked for stable.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.