linux/arch/arm/plat-omap
Imre Deak df51a84d93 ARM: OMAP: timer32k: fix tick count calculation when reprogramming
Reprogramming takes places before putting the CPU into idle mode if
the dynamic tick option is enabled. The timer is then set to expire
at the next pending timer event. Because some time has already passed
since the last reported jiffy we have to wait less than the time
specified in jiffies.

Also make sure we don't set a load value of 0 whose outcome is
unspecified according to the TRM.

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2006-09-25 12:41:21 +03:00
..
clock.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-07-02 15:04:12 -07:00
common.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpu-omap.c ARM: OMAP: Update cpufreq support for 24xx 2006-06-26 16:16:17 -07:00
devices.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-07-02 15:04:12 -07:00
dma.c [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
dmtimer.c [ARM] 3676/1: ARM: OMAP: Fix dmtimers and timer32k to compile on OMAP1 2006-07-01 19:56:42 +01:00
fb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gpio.c [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
Kconfig ARM: OMAP: Port dmtimers to OMAP2 and implement PWM support 2006-06-26 16:16:12 -07:00
Makefile [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
mcbsp.c [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
mux.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ocpi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pm.c [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
sram-fn.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sram.c Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-07-02 15:04:12 -07:00
timer32k.c ARM: OMAP: timer32k: fix tick count calculation when reprogramming 2006-09-25 12:41:21 +03:00
usb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00