summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Tsunaev <vladimirt@motorola.com>2014-05-28 23:17:33 -0400
committerVladimir Tsunaev <vladimirt@motorola.com>2014-06-01 15:47:40 -0400
commit4c7403821dfeb795bbd27d5d184cdcac0459e48c (patch)
treeee683693b00453bbb06606f80793ff0a555384a3
parent3bad1b7fa8a9b63a633a031a5fbbe949d0405d6b (diff)
downloadolio-linux-3.10-4c7403821dfeb795bbd27d5d184cdcac0459e48c.tar.xz
olio-linux-3.10-4c7403821dfeb795bbd27d5d184cdcac0459e48c.zip
IKXCLOCK-1877 arm: mach-omap2: 192Mhz clock tree is not correct
OMAP 36xx has 192Mhz source clock, which is used as parent of 96MHz. Clock tree is modified by substitution omap_96m_alwon_fck with copy of omap_96m_alwon_fck_3630, but hw structure was not modified to reflect this substitution. Change-Id: Ib68586b7807177d2798b1cb301215789cd325742 Signed-off-by: Vladimir Tsunaev <vladimirt@motorola.com>
-rw-r--r--arch/arm/mach-omap2/cclock3xxx_data.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/cclock3xxx_data.c b/arch/arm/mach-omap2/cclock3xxx_data.c
index c7afd4b35a3..e823edd05eb 100644
--- a/arch/arm/mach-omap2/cclock3xxx_data.c
+++ b/arch/arm/mach-omap2/cclock3xxx_data.c
@@ -3554,8 +3554,10 @@ static const char *enable_init_clks[] = {
int __init omap3xxx_clk_init(void)
{
- if (omap3_has_192mhz_clk())
+ if (omap3_has_192mhz_clk()) {
omap_96m_alwon_fck = omap_96m_alwon_fck_3630;
+ omap_96m_alwon_fck_3630.hw->clk = &omap_96m_alwon_fck;
+ }
if (cpu_is_omap3630()) {
dpll3_m3x2_ck = dpll3_m3x2_ck_3630;