[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6d401f1b-bc3f-4064-adc1-a22d9a65c778@tweaklogic.com>
Date: Sun, 28 Apr 2024 21:36:17 +0930
From: Subhajit Ghosh <subhajit.ghosh@...aklogic.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Dan Carpenter <dan.carpenter@...aro.org>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: light: apds9306: Fix input arguments to in_range()
On 28/4/24 21:17, Jonathan Cameron wrote:
> On Sat, 27 Apr 2024 18:39:14 +0930
> Subhajit Ghosh <subhajit.ghosh@...aklogic.com> wrote:
>
>> Third input argument to in_range() function requires the number of
>> values in range, not the last value in that range. Update macro for
>> persistence and adaptive threshold to reflect number of values
>> supported instead of the maximum values supported.
>>
>> Fixes: 620d1e6c7a3f ("iio: light: Add support for APDS9306 Light Sensor")
>> Signed-off-by: Subhajit Ghosh <subhajit.ghosh@...aklogic.com>
> Applied to the togreg branch of iio.git. Pushed out initially as testing
> for 0-day to take a first look.
>
> Thanks,
>
> Jonathan
>
Thank you Jonathan.
Regards,
Subhajit Ghosh
Powered by blists - more mailing lists