aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2021-05-26 08:40:16 -0700
committerGuenter Roeck <[email protected]>2021-06-17 04:21:45 -0700
commitcbbf244f0515af3472084f22b6213121b4a63835 (patch)
tree1b5ac32a6dff3099eb7ceb293af9a526b6d6f5bb /tools/perf/scripts/python
parent07c6621a37352e38b4ad9addaba473ad90fbfe5e (diff)
hwmon: (max31790) Fix fan speed reporting for fan7..12
Fans 7..12 do not have their own set of configuration registers. So far the code ignored that and read beyond the end of the configuration register range to get the tachometer period. This resulted in more or less random fan speed values for those fans. The datasheet is quite vague when it comes to defining the tachometer period for fans 7..12. Experiments confirm that the period is the same for both fans associated with a given set of configuration registers. Fixes: 54187ff9d766 ("hwmon: (max31790) Convert to use new hwmon registration API") Fixes: 195a4b4298a7 ("hwmon: Driver for Maxim MAX31790") Cc: Jan Kundrát <[email protected]> Reviewed-by: Jan Kundrát <[email protected]> Cc: Václav Kubernát <[email protected]> Reviewed-by: Jan Kundrát <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions