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:
Murali Nalajala <mnalajal@codeaurora.org>
Loading
Please sign in to comment