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:
Taniya Das <tdas@codeaurora.org>
Loading
Please register or sign in to comment