mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
[ARM] 3955/1: AT91: Clear timer interrupt when resuming
Attached is a patch for at91rm9200_time.c which removes the 'BUG: soft lockup detected on CPU#0!' message when exiting suspended states. Patch from Savin Zlobec Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
86ad76bb2d
commit
d100f25956
@ -101,6 +101,9 @@ void at91rm9200_timer_reset(void)
|
||||
/* Set Period Interval timer */
|
||||
at91_sys_write(AT91_ST_PIMR, LATCH);
|
||||
|
||||
/* Clear any pending interrupts */
|
||||
(void) at91_sys_read(AT91_ST_SR);
|
||||
|
||||
/* Enable Period Interval Timer interrupt */
|
||||
at91_sys_write(AT91_ST_IER, AT91_ST_PITS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user