diff --git a/drivers/amlogic/thermal/meson_cooldev.c b/drivers/amlogic/thermal/meson_cooldev.c index b12bdd9714d7..8ee885970c90 100644 --- a/drivers/amlogic/thermal/meson_cooldev.c +++ b/drivers/amlogic/thermal/meson_cooldev.c @@ -152,6 +152,8 @@ static int meson_set_min_status(struct thermal_cooling_device *cdev, for (i = 0; i < tzd->trips; i++) thermal_set_upper(tzd, cdev, i, min_state); + thermal_zone_device_update(tzd, + THERMAL_EVENT_UNSPECIFIED); err = 1; } } diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 508719f28e25..d1b40670f0c7 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -484,6 +484,8 @@ static bool can_notify(struct thermal_zone_device *tz, tz->temperature, hyst, trip_temp, tz->hot_step); return true; } + if (tz->hot_step != 0) + return true; return false; } #endif