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:
UtsavBalar1231 2022-06-17 12:05:34 +00:00 committed by spakkkk
parent c165ac0a47
commit e181da7d89

View File

@ -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) {