mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
xtensa: reset all timers on initialization
There are XCHAL_NUM_TIMERS, reset them all. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:
parent
90e3bc798b
commit
79fcf52ba0
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ ENTRY(_startup)
|
|||
/* Disable all timers. */
|
||||
|
||||
.set _index, 0
|
||||
.rept XCHAL_NUM_TIMERS - 1
|
||||
.rept XCHAL_NUM_TIMERS
|
||||
wsr a0, SREG_CCOMPARE + _index
|
||||
.set _index, _index + 1
|
||||
.endr
|
||||
|
|
|
|||
Loading…
Reference in a new issue