aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorSu Hui <[email protected]>2023-10-20 16:55:19 +0800
committerGuenter Roeck <[email protected]>2023-10-28 09:21:36 -0700
commitb92b2984a5b62099ab7731bc3a30a0d7c83a01d4 (patch)
treecb063573b6b87553a0106723c275eb4e073b4b66 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent748465a53eedbc2c440ac07f6b2328de6263dbfd (diff)
hwmon: (npcm750-pwm) Add an error code check in npcm7xx_en_pwm_fan
npcm7xx_pwm_config_set() can return '-ENODEV' for failed. So check the value of 'ret' after calling npcm7xx_pwm_config_set(). Signed-off-by: Su Hui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions