diff options
author | Jaswinder Singh <jaswinder.singh@linaro.org> | 2012-08-08 12:02:31 +0800 |
---|---|---|
committer | Xavier Boudet <x-boudet@ti.com> | 2012-08-08 11:29:04 +0200 |
commit | f132bb7c2b080479b42b392e7dd4d7681cb8bc31 (patch) | |
tree | 297593db74cebd95446fde555554cccc176c5f2b | |
parent | bc0053a56c38addff31570e8179c10d8f49e9e50 (diff) |
Defeat disable of bandgap_fclk during boot breaking thermal
Signed-off-by: Jaswinder Singh <jaswinder.singh@linaro.org>
-rw-r--r-- | arch/arm/mach-omap2/clock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index e169e311e5ef..32b00870b6cb 100644 --- a/arch/arm/mach-omap2/clock.c +++ b/arch/arm/mach-omap2/clock.c @@ -432,6 +432,9 @@ void omap2_clk_disable_unused(struct clk *clk) if ((regval32 & (1 << clk->enable_bit)) == v) return; + if (!strcmp(clk->name, "bandgap_fclk")) + return; + pr_debug("Disabling unused clock \"%s\"\n", clk->name); if (cpu_is_omap34xx()) { omap2_clk_enable(clk); |