Skip to content
Snippets Groups Projects
Commit 4fdfbe85 authored by Durgadoss R's avatar Durgadoss R Committed by Len Brown
Browse files

Thermal_Framework-Fix_crash_during_hwmon_unregister


This patch fixes the following bug:
The thermal framework creates a temp*_crit interface, only when
the get_crit_temp pointer is defined. But during the _unregister_
path, without checking for the function definition, it is trying to
remove the temp*_crit interface.

Signed-off-by: default avatarDurgadoss R <durgadoss.r@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent dd9c1549
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment