Commit f7e53c19 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: acpuclock-8k: Return error on unexpected CPU_UP_PREPARE



If a CPU has never been brought up before acpuclock initializes
we may NULL pointer dereference when trying to access per-CPU
resources. Deny the CPU from coming online if it didn't come up
before acpuclock initialized since the code isn't prepared to
handle such a case.

Change-Id: Iddbc326e347b0d0c2d799e003c1d82b4884d7247
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 2869cfb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment