Message ID | 1348589142-11983-12-git-send-email-t-kristo@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index 95834d7..d2fb4e8 100644 --- a/arch/arm/mach-omap2/clock44xx_data.c +++ b/arch/arm/mach-omap2/clock44xx_data.c @@ -3356,8 +3356,11 @@ int __init omap4xxx_clk_init(void) */ for (c = omap44xx_clks; c < omap44xx_clks + ARRAY_SIZE(omap44xx_clks); - c++) + c++) { + if (c->lk.clk->enable_bit == OMAP4430_MODULEMODE_HWCTRL) + c->lk.clk->autoidle = true; clk_preinit(c->lk.clk); + } for (c = omap44xx_clks; c < omap44xx_clks + ARRAY_SIZE(omap44xx_clks); c++)
This makes sure these clocks are ignored by the clkdm / pwrdm usecounting. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/clock44xx_data.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)