diff options
author | Imre Deak <imre.deak@solidboot.com> | 2006-09-25 12:41:21 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2006-09-25 12:41:21 +0300 |
commit | df51a84d93e776b7481d937ccd60be1b27d320c5 (patch) | |
tree | e94a6327eff576dac2ea84cae1e7e3ebda0f0cfe /include/asm-arm/sizes.h | |
parent | ae78dcf79aefa98a1ed245898467eb6d3bfc11e6 (diff) |
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>
Diffstat (limited to 'include/asm-arm/sizes.h')
0 files changed, 0 insertions, 0 deletions