aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2021-05-26 08:40:21 -0700
committerGuenter Roeck <[email protected]>2021-06-17 04:21:46 -0700
commit1814c4e84de2a89d1c2e1e9bbd241240561075a4 (patch)
treefb83823204e878cafb36d6a7b9f2a8f9c81b5867 /tools/perf/scripts/python/flamegraph.py
parent2013607b85f03ff24a5a19933705905a1b324a31 (diff)
hwmon: (max31790) Detect and report zero fan speed
If a fan is not running or not connected, of if fan monitoring is disabled, the fan count register returns a fixed value of 0xffe0. So far this is then translated to a RPM value larger than 0. Since this is misleading and does not really make much sense, report a fan RPM of 0 in this situation. Cc: Jan Kundrát <[email protected]> Cc: Václav Kubernát <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Tested-by: Václav Kubernát <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions