]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00155981: MX6: Fix crash caused by cpufreq during suspend/resume
authorRanjani Vaidyanathan <ra5478@freescale.com>
Fri, 2 Sep 2011 17:04:48 +0000 (12:04 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:37 +0000 (14:09 +0200)
commit8fef91113f00c5f15061445933b132a7bf024587
tree00945bb646ae27f43a8927fd26220397258d76ff
parent94f451a16032fe08371b3272384bee7a85ef1937
ENGR00155981: MX6: Fix crash caused by cpufreq during suspend/resume

Random crashes occur in CPUFREQ code when resuming from suspend.
The root cause is due to freeing and allocating of common data structure
(frequency table) shared among all the CPUs.
Fix the code by ensuring that the common data structure is only
created and deleted once.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/plat-mxc/cpufreq.c