summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap-pm/fix-dpll-m4.diff
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2009-01-11 09:18:42 -0500
committerPhilip Balister <philip@balister.org>2009-01-11 09:18:42 -0500
commitc64ada5c2865a4b3f84ca64f4515034e215a86dd (patch)
tree1e5cb6f2c656cec6d73e8a390eb8c70fd6d439d1 /packages/linux/linux-omap-pm/fix-dpll-m4.diff
parentb7e746ca9db1cd9b55f9c3b703c8776fb099e1d6 (diff)
linux-omap-pm : Add recipe for OMAP3 kernel with power management. This tracks
Kevin Hilmans git tree. When the OMAP3 pm stuff is merged into the linux-omap git, this recipe should be removed.
Diffstat (limited to 'packages/linux/linux-omap-pm/fix-dpll-m4.diff')
-rw-r--r--packages/linux/linux-omap-pm/fix-dpll-m4.diff37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/linux/linux-omap-pm/fix-dpll-m4.diff b/packages/linux/linux-omap-pm/fix-dpll-m4.diff
new file mode 100644
index 0000000000..1fa3bfe7fe
--- /dev/null
+++ b/packages/linux/linux-omap-pm/fix-dpll-m4.diff
@@ -0,0 +1,37 @@
+From linux-omap-owner@vger.kernel.org Mon Dec 08 14:41:05 2008
+
+This fixes commit e42218d45afbc3e654e289e021e6b80c657b16c2. The commit
+was based on old kernel tree, and with bad luck applied ok but to wrong
+position, modifying dpll4_m6_ck instead of dpll4_m4_ck.
+
+Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
+---
+ arch/arm/mach-omap2/clock34xx.h | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h
+index 1c2b49f..5357507 100644
+--- a/arch/arm/mach-omap2/clock34xx.h
++++ b/arch/arm/mach-omap2/clock34xx.h
+@@ -825,6 +825,8 @@ static struct clk dpll4_m4_ck = {
+ PARENT_CONTROLS_CLOCK,
+ .clkdm = { .name = "dpll4_clkdm" },
+ .recalc = &omap2_clksel_recalc,
++ .set_rate = &omap2_clksel_set_rate,
++ .round_rate = &omap2_clksel_round_rate,
+ };
+
+ /* The PWRDN bit is apparently only available on 3430ES2 and above */
+@@ -879,8 +881,6 @@ static struct clk dpll4_m6_ck = {
+ PARENT_CONTROLS_CLOCK,
+ .clkdm = { .name = "dpll4_clkdm" },
+ .recalc = &omap2_clksel_recalc,
+- .set_rate = &omap2_clksel_set_rate,
+- .round_rate = &omap2_clksel_round_rate,
+ };
+
+ /* The PWRDN bit is apparently only available on 3430ES2 and above */
+--
+1.6.0.3
+
+