diff options
author | Aleksa Savic <savicaleksa83@gmail.com> | 2023-07-14 15:07:11 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-07-15 19:14:43 +0300 |
commit | a746b3689546da27125da9ccaea62b1dbaaf927c (patch) | |
tree | 087f33153de3af324a89e2568b243f052baf3459 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 368da76be8df60e9228a41b7d46e7836a67158fd (diff) | |
download | linux-a746b3689546da27125da9ccaea62b1dbaaf927c.tar.xz |
hwmon: (aquacomputer_d5next) Fix incorrect PWM value readout
Commit 662d20b3a5af ("hwmon: (aquacomputer_d5next) Add support for
temperature sensor offsets") changed aqc_get_ctrl_val() to return
the value through a parameter instead of through the return value,
but didn't fix up a case that relied on the old behavior. Fix it
to use the proper received value and not the return code.
Fixes: 662d20b3a5af ("hwmon: (aquacomputer_d5next) Add support for temperature sensor offsets")
Cc: stable@vger.kernel.org
Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
Link: https://lore.kernel.org/r/20230714120712.16721-1-savicaleksa83@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions