aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/governor_performance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/devfreq/governor_performance.c')
-rw-r--r--drivers/devfreq/governor_performance.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/devfreq/governor_performance.c b/drivers/devfreq/governor_performance.c
index 4d23ecfbd948..ded429fd51be 100644
--- a/drivers/devfreq/governor_performance.c
+++ b/drivers/devfreq/governor_performance.c
@@ -20,10 +20,7 @@ static int devfreq_performance_func(struct devfreq *df,
20 * target callback should be able to get floor value as 20 * target callback should be able to get floor value as
21 * said in devfreq.h 21 * said in devfreq.h
22 */ 22 */
23 if (!df->max_freq) 23 *freq = DEVFREQ_MAX_FREQ;
24 *freq = UINT_MAX;
25 else
26 *freq = df->max_freq;
27 return 0; 24 return 0;
28} 25}
29 26