Revert "ANDROID: GKI: PM / devfreq: Allow min freq to be 0"
This reverts commit ace5c22c16
.
Change-Id: Ifec1d4a7e5e4851181ca0cd46453513b65313260
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
parent
c165ac0a47
commit
e181da7d89
@ -543,6 +543,8 @@ static int devfreq_notifier_call(struct notifier_block *nb, unsigned long type,
|
||||
mutex_lock(&devfreq->lock);
|
||||
|
||||
devfreq->scaling_min_freq = find_available_min_freq(devfreq);
|
||||
if (!devfreq->scaling_min_freq)
|
||||
goto out;
|
||||
|
||||
devfreq->scaling_max_freq = find_available_max_freq(devfreq);
|
||||
if (!devfreq->scaling_max_freq) {
|
||||
|
Loading…
Reference in New Issue
Block a user