lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250920113605.3d309a6a@jic23-huawei>
Date: Sat, 20 Sep 2025 11:36:05 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Marcelo Schmitt <marcelo.schmitt@...log.com>, linux-iio@...r.kernel.org,
 devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
 linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
 michael.hennerich@...log.com, nuno.sa@...log.com, eblanc@...libre.com,
 andy@...nel.org, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
 corbet@....net, marcelo.schmitt1@...il.com
Subject: Re: [PATCH v2 1/8] iio: adc: ad4030: Fix _scale value for
 common-mode channels

On Thu, 18 Sep 2025 14:32:23 -0500
David Lechner <dlechner@...libre.com> wrote:

> On 9/18/25 12:37 PM, Marcelo Schmitt wrote:
> > Previously, the driver always used the amount of precision bits of
> > differential input channels to provide the scale to mV. Though,
> > differential and common-mode voltage channels have different amount of
> > precision bits and the correct number of precision bits must be considered
> > to get to a proper mV scale factor for each one. Use channel specific
> > number of precision bits to provide the correct scale value for each
> > channel.
> > 
> > Fixes: de67f28abe58 ("iio: adc: ad4030: check scan_type for error")
> > Fixes: 949abd1ca5a4 ("iio: adc: ad4030: add averaging support")
> > Signed-off-by: Marcelo Schmitt <marcelo.schmitt@...log.com>
> > ---  
> Reviewed-by: David Lechner <dlechner@...libre.com>
> 

I'll queue this one up now, but not push the branch out yet as it will
make a mess of linux-next (due to ordering of trees).

Jonathan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ