[PATCH 5/5] ARM: OMAP1: recalibrate loops per jiffy after dpll1 reprogram
Janusz Krzysztofik
jkrzyszt at tis.icnet.pl
Sat Nov 26 22:32:31 EST 2011
Otherwise timing is not accurate, resulting in devices which depend
on it, like omap-keypad, broken.
Created against linux-3.2-rc2.
Depends on patch "init: allow for recalibration of loops per jiffy".
Tested on top of linux-omap/fixes on Amstrad Delta.
Signed-off-by: Janusz Krzysztofik <jkrzyszt at tis.icnet.pl>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Sameer Nanda <snanda at chromium.org>
---
arch/arm/mach-omap1/clock_data.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap1/clock_data.c b/arch/arm/mach-omap1/clock_data.c
index 201b1f2..7fa6b8b 100644
--- a/arch/arm/mach-omap1/clock_data.c
+++ b/arch/arm/mach-omap1/clock_data.c
@@ -16,6 +16,7 @@
#include <linux/kernel.h>
#include <linux/clk.h>
+#include <linux/delay.h>
#include <linux/io.h>
#include <asm/mach-types.h> /* for machine_is_* */
@@ -942,4 +943,5 @@ void __init omap1_clk_late_init(void)
}
propagate_rate(&ck_dpll1);
omap1_show_rates();
+ recalibrate_delay();
}
--
1.7.3.4
More information about the linux-arm-kernel
mailing list