summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-06-26 17:21:54 -0700
committerGuenter Roeck <linux@roeck-us.net>2024-07-08 07:52:36 -0700
commitaf4d04b8ce08a734889fb0777059063635242614 (patch)
tree8e49b82eacef331972fe71c6506bee0c455fefc7 /tools/perf/scripts/python/export-to-sqlite.py
parent5c1de37969b7bc0abcb20b86e91e70caebbd4f89 (diff)
hwmon: (amc6821) Stop accepting invalid pwm values
The pwm value range is well defined from 0..255. Don't accept any values outside this range. This changes the valid range of pwm1_auto_point2_pwm from 0..254 to 0..255, meaning it can now be equivalent to not only pwm1_auto_point1_pwm (which is always 0) but also to pwm1_auto_point3_pwm (which is always 255). While that may not be practical, there seems to be no technical reason for preventing a user from doing it. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions