mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
CLOCKSOURCE: mips-gic-timer: Ensure GIC counter is running
Start the GIC counter after configuring the clocksource since there are no guarantees the counter will be running after a CPU reset. Signed-off-by: Markos Chandras <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/9595/ Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
8fa4b93067
commit
7d9cd1f518
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ static void __init __gic_clocksource_init(void)
|
|||
clocksource_register_hz(&gic_clocksource, gic_frequency);
|
||||
|
||||
gic_clockevent_init();
|
||||
|
||||
/* And finally start the counter */
|
||||
gic_start_count();
|
||||
}
|
||||
|
||||
void __init gic_clocksource_init(unsigned int frequency)
|
||||
|
|
|
|||
Loading…
Reference in a new issue