summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/thermal/devfreq_cooling.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/devfreq_cooling.c b/drivers/thermal/devfreq_cooling.c
index 4868499b54b3..4c36684b019e 100644
--- a/drivers/thermal/devfreq_cooling.c
+++ b/drivers/thermal/devfreq_cooling.c
@@ -138,6 +138,7 @@ static int devfreq_set_cur_state(struct thermal_cooling_device *cdev,
/* Set the limited frequency to maximum frequency of devfreq */
devfreq_dev->devfreq->max_freq = limited_freq;
+ update_devfreq(devfreq_dev->devfreq);
return 0;
}