forked from luck/tmp_suning_uos_patched
13b86f50ea
Starting with kernel 4.17 thermal_cooling_device_register() will call the get_max_state() op during register. Since we deref priv->priv in int3403_get_max_state() this means we must set priv->priv before calling thermal_cooling_device_register(). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> |
||
---|---|---|
.. | ||
acpi_thermal_rel.c | ||
acpi_thermal_rel.h | ||
int340x_thermal_zone.c | ||
int340x_thermal_zone.h | ||
int3400_thermal.c | ||
int3402_thermal.c | ||
int3403_thermal.c | ||
int3406_thermal.c | ||
Kconfig | ||
Makefile | ||
processor_thermal_device.c |