Commit 558c0cef authored by Murali Nalajala's avatar Murali Nalajala
Browse files

msm: pm2: Change the initialization sequence of "msm_pm_init_done"



Set the "msm_pm_init_done" variable after populating the idle
statistics data for both the cores. Setting this varaible before
initializing the idle stats causes the kernel exception (division
by zero). This is happening because one core is doing the driver
init and another core finds idle time and execute the arch_idle
to do a low power mode and also is trying to log the idle stats
information where another core is not prepared yet.

Change-Id: I71d2785eb47f638019817b3f5659711592243063
Signed-off-by: default avatarMurali Nalajala <mnalajal@codeaurora.org>
parent 8fda4499
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment