diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-12-21 23:08:14 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-12-21 23:08:14 -0500 |
commit | d4521f6731756c82a76d3e791c3ec2d28b38f97e (patch) | |
tree | 74cf5ed299408389c8e6fc01fc09d56f25a0832a /arch | |
parent | cb13459b38c8f2e99df4923d2a71ce6db99f2436 (diff) |
OMAP2xxx clock: fix dss2_fck recalc to use clksel
dss2_fck is a clksel clock, and therefore its rate should be recalculated
with the clksel mechanism. This was working in early 2009, but was one of
the casualties of the big OMAP clock merge between 2.6.29 and 2.6.30.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/clock2420_data.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock2430_data.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clock2420_data.c b/arch/arm/mach-omap2/clock2420_data.c index 0b2471add7d2..ed1295f5046e 100644 --- a/arch/arm/mach-omap2/clock2420_data.c +++ b/arch/arm/mach-omap2/clock2420_data.c | |||
@@ -812,7 +812,7 @@ static struct clk dss2_fck = { /* Alt clk used in power management */ | |||
812 | .clksel_reg = OMAP_CM_REGADDR(CORE_MOD, CM_CLKSEL1), | 812 | .clksel_reg = OMAP_CM_REGADDR(CORE_MOD, CM_CLKSEL1), |
813 | .clksel_mask = OMAP24XX_CLKSEL_DSS2_MASK, | 813 | .clksel_mask = OMAP24XX_CLKSEL_DSS2_MASK, |
814 | .clksel = dss2_fck_clksel, | 814 | .clksel = dss2_fck_clksel, |
815 | .recalc = &followparent_recalc, | 815 | .recalc = &omap2_clksel_recalc, |
816 | }; | 816 | }; |
817 | 817 | ||
818 | static struct clk dss_54m_fck = { /* Alt clk used in power management */ | 818 | static struct clk dss_54m_fck = { /* Alt clk used in power management */ |
diff --git a/arch/arm/mach-omap2/clock2430_data.c b/arch/arm/mach-omap2/clock2430_data.c index 570c26d81467..38341a71c6f8 100644 --- a/arch/arm/mach-omap2/clock2430_data.c +++ b/arch/arm/mach-omap2/clock2430_data.c | |||
@@ -800,7 +800,7 @@ static struct clk dss2_fck = { /* Alt clk used in power management */ | |||
800 | .clksel_reg = OMAP_CM_REGADDR(CORE_MOD, CM_CLKSEL1), | 800 | .clksel_reg = OMAP_CM_REGADDR(CORE_MOD, CM_CLKSEL1), |
801 | .clksel_mask = OMAP24XX_CLKSEL_DSS2_MASK, | 801 | .clksel_mask = OMAP24XX_CLKSEL_DSS2_MASK, |
802 | .clksel = dss2_fck_clksel, | 802 | .clksel = dss2_fck_clksel, |
803 | .recalc = &followparent_recalc, | 803 | .recalc = &omap2_clksel_recalc, |
804 | }; | 804 | }; |
805 | 805 | ||
806 | static struct clk dss_54m_fck = { /* Alt clk used in power management */ | 806 | static struct clk dss_54m_fck = { /* Alt clk used in power management */ |