diff options
author | Imre Deak <imre.deak@solidboot.com> | 2006-09-25 11:41:21 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2006-09-25 11:41:21 +0200 |
commit | df51a84d93e776b7481d937ccd60be1b27d320c5 (patch) | |
tree | e94a6327eff576dac2ea84cae1e7e3ebda0f0cfe /include | |
parent | ARM: OMAP: Avoid sleeping during arch_reset (diff) | |
download | linux-df51a84d93e776b7481d937ccd60be1b27d320c5.tar.xz linux-df51a84d93e776b7481d937ccd60be1b27d320c5.zip |
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')
0 files changed, 0 insertions, 0 deletions