diff --git a/drivers/devfreq/governor_pod_scaling.c b/drivers/devfreq/governor_pod_scaling.c index 1849a85f..d7250a17 100644 --- a/drivers/devfreq/governor_pod_scaling.c +++ b/drivers/devfreq/governor_pod_scaling.c @@ -669,8 +669,10 @@ static int nvhost_pod_estimate_freq(struct devfreq *df, msecs_to_jiffies(podgov->p_slowdown_delay)); } - if (!(*freq)) + if (!(*freq)) { *freq = dev_stat.current_frequency; + return 0; + } if (freqlist_up(podgov, *freq, 0) == dev_stat.current_frequency) return 0;