summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock44xx_data.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-09-16 01:06:11 +0200
committerTony Lindgren <tony@atomide.com>2011-09-16 01:06:11 +0200
commitceb1c532ba6220900e61ec7073a9234661efa450 (patch)
treeb7c5b94f09a6893625bb12b7795de3d44fece450 /arch/arm/mach-omap2/clock44xx_data.c
parentARM: OMAP: Introduce SoC specific early_init (diff)
parentOMAP: id: remove OMAP_CHIP declarations, code (diff)
downloadlinux-ceb1c532ba6220900e61ec7073a9234661efa450.tar.xz
linux-ceb1c532ba6220900e61ec7073a9234661efa450.zip
Merge branch 'omap_chip_remove_cleanup_3.2' of git://git.pwsan.com/linux-2.6 into cleanup
Diffstat (limited to 'arch/arm/mach-omap2/clock44xx_data.c')
-rw-r--r--arch/arm/mach-omap2/clock44xx_data.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c
index 2af0e3f00ce1..c0b6fbda3408 100644
--- a/arch/arm/mach-omap2/clock44xx_data.c
+++ b/arch/arm/mach-omap2/clock44xx_data.c
@@ -3376,10 +3376,18 @@ int __init omap4xxx_clk_init(void)
} else if (cpu_is_omap446x()) {
cpu_mask = RATE_IN_4460;
cpu_clkflg = CK_446X;
+ } else {
+ return 0;
}
clk_init(&omap2_clk_functions);
- omap2_clk_disable_clkdm_control();
+
+ /*
+ * Must stay commented until all OMAP SoC drivers are
+ * converted to runtime PM, or drivers may start crashing
+ *
+ * omap2_clk_disable_clkdm_control();
+ */
for (c = omap44xx_clks; c < omap44xx_clks + ARRAY_SIZE(omap44xx_clks);
c++)