On Sat, 27 Apr 2024 18:39:14 +0930Thank you Jonathan.
Subhajit Ghosh <subhajit.ghosh@xxxxxxxxxxxxxx> wrote:
Third input argument to in_range() function requires the number ofApplied to the togreg branch of iio.git. Pushed out initially as testing
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@xxxxxxxxxxxxxx>
for 0-day to take a first look.
Thanks,
Jonathan