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

Skip to content
Commit 55164b2c authored by Junjie Wu's avatar Junjie Wu Committed by Stephen Boyd
Browse files

msm: acpuclock: Fix acpuclk_data null pointer dereference



If acpuclk_data is null, dereferencing it in acpuclk_get_switch_time
causes a kernel panic.  Add pointer check to fix that.

Change-Id: I69b92671c8cf26cb45ec8f1193c147be2ebe4c16
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent 77f262fa
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