Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: ux500: Reprogram timers upon resume

On ux500 the MTU timer blocks are powered off during
suspend/resume, so these need some reinitialization when
coming back from suspend.

Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Jonas Aaberg and committed by
Linus Walleij
bb219dba 05387a9f

+7
+7
arch/arm/mach-ux500/timer.c
··· 53 53 clksrc_dbx500_prcmu_init(); 54 54 } 55 55 56 + static void ux500_timer_reset(void) 57 + { 58 + nmdk_clkevt_reset(); 59 + nmdk_clksrc_reset(); 60 + } 61 + 56 62 struct sys_timer ux500_timer = { 57 63 .init = ux500_timer_init, 64 + .resume = ux500_timer_reset, 58 65 };