OMAP3 SRF: Fix crash on non-3430SDP platforms with DVFS/CPUFreq
commite475b7ae3dc7346e0f1e7b0092ff1cf8357067d4
authorRajendra Nayak <rnayak@ti.com>
Wed, 26 Nov 2008 13:01:43 +0000 (26 18:31 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:20:36 +0000 (23 11:20 -0700)
tree87ae30bdcc756c45dbe65e970d36734c56fb1792
parent0502cf9e01b837d04292c284393c4d434b378366
OMAP3 SRF: Fix crash on non-3430SDP platforms with DVFS/CPUFreq

The SRF/DVFS + CPUFreq patches had issues booting on
non-3430SDP platforms as reported by Kevin Hilman.
This patch puts non-NULL checks in place for mpu_opps/dsp_opps
/l3_opps before accessing them and fixes the issue.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/pm.h
arch/arm/mach-omap2/resource34xx.c
arch/arm/plat-omap/cpu-omap.c
arch/arm/plat-omap/include/plat/omap34xx.h