summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/opp4xxx_data.c
diff options
context:
space:
mode:
authorRajendra Nayak2012-08-09 09:08:21 +0200
committerKevin Hilman2012-08-09 17:07:47 +0200
commit1b8652142334a8c0729c5c4536a22cfc6fc49297 (patch)
treeaf0cfa1b7d2c86221fb141b91f9d1cdf85022992 /arch/arm/mach-omap2/opp4xxx_data.c
parentARM: OMAP4: sleep: Save the complete used register stack frame (diff)
downloadkernel-qcow2-linux-1b8652142334a8c0729c5c4536a22cfc6fc49297.tar.gz
kernel-qcow2-linux-1b8652142334a8c0729c5c4536a22cfc6fc49297.tar.xz
kernel-qcow2-linux-1b8652142334a8c0729c5c4536a22cfc6fc49297.zip
cpufreq: OMAP: Handle missing frequency table on SMP systems
On OMAP4, if the first CPU fails to get a valid frequency table (this could happen if the platform does not register any OPP table), the subsequent CPU instances end up dealing with a NULL freq_table and crash. Check for an already existing freq_table, before trying to create one, and increment the freq_table_users only if the table is sucessfully created. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: <linux-pm@vger.kernel.org> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/opp4xxx_data.c')
0 files changed, 0 insertions, 0 deletions