Message ID | 1739170545-25011-10-git-send-email-kazuhiro3.hayashi@toshiba.co.jp (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Backport fixes that depends on SYSTEM_SCHEDULING | expand |
diff --git a/drivers/cpufreq/pasemi-cpufreq.c b/drivers/cpufreq/pasemi-cpufreq.c index 991b6a3062c4..d1bdd8f62247 100644 --- a/drivers/cpufreq/pasemi-cpufreq.c +++ b/drivers/cpufreq/pasemi-cpufreq.c @@ -222,7 +222,7 @@ static int pas_cpufreq_cpu_exit(struct cpufreq_policy *policy) * We don't support CPU hotplug. Don't unmap after the system * has already made it to a running state. */ - if (system_state != SYSTEM_BOOTING) + if (system_state >= SYSTEM_RUNNING) return 0; if (sdcasr_mapbase)