aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJon Hunter <[email protected]>2022-10-10 16:03:11 +0100
committerDaniel Lezcano <[email protected]>2023-01-06 14:14:48 +0100
commit5f28ecc1e909b2c3ab6ba4e9ba57c0f8dc66c30f (patch)
treea90d2baea1d469f9512e827dcf5f4e98604d0099 /tools
parenta1c306375b0638f37996bbda1e3a75c6f108a097 (diff)
thermal/drivers/tegra: Fix crash when getting critical temp
Commit 13bea86623be ("thermal/of: Remove of_thermal_get_crit_temp()") removed the function of_thermal_get_crit_temp() and this is causing a NULL pointer deference crash when attempting to call the 'get_crit_temp' function pointer because this function pointer is no longer initialised. Fix this by replacing the call to the 'get_crit_temp' function pointer with a call to the function thermal_zone_get_crit_temp() instead. Fixes: 13bea86623be ("thermal/of: Remove of_thermal_get_crit_temp()") Signed-off-by: Jon Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions