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

Skip to content
Commit b34b8aa3 authored by Taniya Das's avatar Taniya Das
Browse files

cpufreq: qcom-cpufreq-hw: Initialize the spinlock before usage



Initialization of the spinlock is required to avoid the below trace.

cpufreq: driver qcom-cpufreq-hw up and running
BUG: spinlock bad magic on CPU#7, swapper/0/1
lock: qcom_cpufreq_counter+0x128/0x140, .magic: 00000000,
.owner: <none>/-1, .owner_cpu: 0.

Change-Id: I079ebd7c0009c3b634d2d5d41ac880da06cf8f6d
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 84606f73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment