Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 901a8a20 authored by Patrick Daly's avatar Patrick Daly
Browse files

msm: cpufreq: Avoid NULL clock pointer references



The MSM CPUfreq driver defines a mapping from cpu number to clock
pointer. On SOCs with synchronous cpus, only the mapping for cpu#0
is defined, even though there may be more than 1 cpu. Handle this
case by skipping certain unnecessary initialization steps for SOCs
with synchronous cpus.

Change-Id: Iaeba7a8615e3cb7da2c725250db92595450bfa46
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent fd2e1ed4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment