summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2022-03-08 13:53:03 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-04-04 09:11:25 +0100
commita8e1f0ba138e0c7c51cdf268b2edef758581a31e (patch)
tree1b5c9bd8f8c26e19e4cd61a19de2faa7f52fd808 /tools/perf/scripts/python
parent44b0be6eb3736501f11f9c630910169c35431f6e (diff)
downloadlinux-a8e1f0ba138e0c7c51cdf268b2edef758581a31e.tar.gz
linux-a8e1f0ba138e0c7c51cdf268b2edef758581a31e.zip
iio: palmas: shut up warning about calibration mismatch (due to noise)
Although technically checking for ADC values below 0 is correct, because they are outside of the calibration values, there is usually noise which spuriously fills the console log with error messages if calculated input voltage gets close to 0V. Ignore small negative calculated values, but clamp them to 0. Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Link: https://lore.kernel.org/r/1cee45bfc3fa2ab59dcc17242fb52468035360a1.1646743982.git.hns@goldelico.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions