summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSubhajit Ghosh <subhajit.ghosh@tweaklogic.com>2024-04-27 18:39:14 +0930
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-04-28 12:46:53 +0100
commit0d8d62640763edfc11cc8568fe2115ad5af4e67e (patch)
tree84e46aec3501b0770c89b7ad1e33cd2f55b6dde3 /tools/perf/scripts/python/export-to-postgresql.py
parent84e79a7f63e8caeac0c1a0817408860875a9b23e (diff)
iio: light: apds9306: Fix input arguments to in_range()
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@tweaklogic.com> Link: https://lore.kernel.org/r/20240427090914.37274-1-subhajit.ghosh@tweaklogic.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions