]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP3: hwmod: initialize clkdm from clkdm_name
authorTero Kristo <t-kristo@ti.com>
Wed, 17 Jul 2013 15:03:25 +0000 (18:03 +0300)
committerMike Turquette <mturquette@linaro.org>
Fri, 17 Jan 2014 20:37:07 +0000 (12:37 -0800)
commit8a30723d36164f85074d4d84840a36cb9a2b9691
treedc3ff05644e8b8fed19e65d1ad13ba3407d1fccc
parent57ca9aa8846994ff28b433e131ce0a757e098fc7
ARM: OMAP3: hwmod: initialize clkdm from clkdm_name

DT clocks are mostly missing clkdm info now, and this causes an issue with
counter32k which makes its slave idlemode wrong and prevents core idle.

Fixed by initializing the hwmod clkdm pointers for omap3 also which makes
sure the clkdm flag matching logic works properly.

This patch also changes the return value for _init_clkdm to 0 for
incorrect clkdm_name, as this a warning, not a fatal error.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
arch/arm/mach-omap2/omap_hwmod.c