aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAnsuel Smith <[email protected]>2021-09-07 23:25:42 +0200
committerDaniel Lezcano <[email protected]>2021-09-21 15:17:11 +0200
commitcf96921876dcee4d6ac07b9de470368a075ba9ad (patch)
treebd545e475248099c953c4ddb71a412cc1f3c3cb4 /scripts/gdb/linux/utils.py
parent1bb30b20b49773369c299d4d6c65227201328663 (diff)
thermal/drivers/tsens: Fix wrong check for tzd in irq handlers
Some devices can have some thermal sensors disabled from the factory. The current two irq handler functions check all the sensor by default and the check if the sensor was actually registered is wrong. The tzd is actually never set if the registration fails hence the IS_ERR check is wrong. Signed-off-by: Ansuel Smith <[email protected]> Reviewed-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions