PM / devfreq: add min/max_freq limit requested by users.
The frequency requested to devfreq device driver from devfreq governors is restricted by min_freq and max_freq input. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
This commit is contained in:
@@ -18,7 +18,7 @@ static int devfreq_powersave_func(struct devfreq *df,
|
||||
* target callback should be able to get ceiling value as
|
||||
* said in devfreq.h
|
||||
*/
|
||||
*freq = 0;
|
||||
*freq = df->min_freq;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user