aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorPaul Barker <[email protected]>2020-11-26 17:44:07 +0000
committerGuenter Roeck <[email protected]>2020-12-02 17:42:24 -0800
commitb5fcb8a4018dabf9cbcb9a83757bd74576c66174 (patch)
tree48a5b02f4495bdba4162edb9a92336ce4df2acef /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent02c155cb321643df9400a9af082902fcff222ad9 (diff)
hwmon: pwm-fan: Refactor pwm_fan_probe
Use platform_irq_count to determine the number of fan tachometer inputs configured in the device tree. At this stage we support either 0 or 1 inputs. Once we have this information we only need to read the pulses-per-revolution value if a fan tachometer is actually configured via an IRQ value. Also add a debug print of the IRQ number and the pulses-per-revolution value to aid in investigating issues. Signed-off-by: Paul Barker <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions