qcom-cpufreq: Fix hotplug blocking logic
Change 2b63b109 qcom-cpufreq: Block hotplug until cpufreq is ready intended to block hotplug until qcom-cpufreq driver has got all clocks. However, its implementation still leaves a small window when CPU 0 has got its clock but others haven't. If a hotplug happens on another CPU that doesn't have its clock pointer, refcount of that CPU clock will again be wrong. Fix the issue by introducing a ready flag. Change-Id: I1e05b063b0584088f717b82709a3f1d55bc6561b Signed-off-by:Junjie Wu <junjiew@codeaurora.org>
Loading
Please register or sign in to comment