* Tony Lindgren <t...@atomide.com> [120409 15:52]:
> * Grazvydas Ignotas <nota...@gmail.com> [120406 14:56]:
> > _omap3_sram_configure_core_dpll is called when SDRC is reprogrammed,
> > which is done regardless of CONFIG_PM setting, so we always need it's
> > setup code too. Without this, we hit a BUG() on OMAP3 when kernel is
> > built without CONFIG_PM:
> > 
> > Reprogramming SDRC clock to 332000000 Hz
> > ------------[ cut here ]------------
> > kernel BUG at arch/arm/plat-omap/sram.c:342!
> > Internal error: Oops - BUG: 0 [#1] ARM
> > ...
> > [<c001c694>] (omap3_configure_core_dpll+0x68/0x6c) from [<c001b2dc>] 
> > (omap3_core_dpll_m2_set_rate+0x1)
> > [<c001b2dc>] (omap3_core_dpll_m2_set_rate+0x138/0x1b0) from [<c001a478>] 
> > (omap2_clk_set_rate+0x14/0x2)
> > [<c001a478>] (omap2_clk_set_rate+0x14/0x20) from [<c001c9dc>] 
> > (clk_set_rate+0x54/0x74)
> > [<c001c9dc>] (clk_set_rate+0x54/0x74) from [<c022b9c8>] 
> > (omap_sdrc_init+0x70/0x90)
> > [<c022b9c8>] (omap_sdrc_init+0x70/0x90) from [<c022f178>] 
> > (omap3pandora_init+0x11c/0x164)
> > [<c022f178>] (omap3pandora_init+0x11c/0x164) from [<c022849c>] 
> > (customize_machine+0x20/0x28)
> > [<c022849c>] (customize_machine+0x20/0x28) from [<c0225810>] 
> > (do_one_initcall+0xa0/0x16c)
> > [<c0225810>] (do_one_initcall+0xa0/0x16c) from [<c02259e0>] 
> > (kernel_init+0x104/0x1ac)
> > [<c02259e0>] (kernel_init+0x104/0x1ac) from [<c0009cec>] 
> > (kernel_thread_exit+0x0/0x8)
> 
> Looks like this was caused by the added ifdef CONFIG_PM from
> commit 3231fc88 (OMAP3: PM: restore SRAM functions after off-mode).

Applying this into fixes.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to