]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 5863/1: fix bugs of clock source of NUC900
authorLi Jie <eltshanli@gmail.com>
Thu, 31 Dec 2009 14:57:53 +0000 (15:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 5 Jan 2010 20:52:10 +0000 (20:52 +0000)
commit2024bdb3fa3aae6223616092413b623f57e96b32
treefaf0beee26ecee8944b78dbf493f3d4c141125ab
parent26fa947d9c3221fc9a76dd0e6bd0eaf27fd16e83
ARM: 5863/1: fix bugs of clock source of NUC900

This patch fix following bugs:

1. typo error, CLOCK_EVT_MODE_PERIODIC -> CLOCK_EVT_FEAT_PERIODIC
2. TCSR register of timer1 missed PRESCALE
3. timer1 should be enabled before register it to clock source.

Signed-off-by: lijie <eltshanli@gmail.com>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-w90x900/time.c