summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAntheas Kapenekakis <lkml@antheas.dev>2025-04-25 14:18:14 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-04-30 14:05:36 +0300
commitb804a9b818905a6eb9783abc18483a2ca53ee281 (patch)
tree31037ec79392bb75f5328679f1a56000c6ba4222 /tools/perf/scripts/python/exported-sql-viewer.py
parent6b89cf6d3744d150ee2611c9bfda9e781819c8a1 (diff)
downloadlinux-b804a9b818905a6eb9783abc18483a2ca53ee281.tar.xz
platform/x86: oxpec: Move pwm value read/write to separate functions
Currently, this driver breaks hwmon ABI by using auto as 0 and manual as 1. However, for pwm_enable, 0 is full speed, 1 is manual, and 2 is auto. For the correction to be possible, this means that the pwm_enable endpoint will need access to both pwm enable and value (as for the 0th value, the fan needs to be set to full power). Therefore, move the pwm value read/write to separate functions. Reviewed-by: Derek J. Clark <derekjohn.clark@gmail.com> Reviewed-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev> Link: https://lore.kernel.org/r/20250425111821.88746-10-lkml@antheas.dev Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions