]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: vf_pit_timer: Support shutdown mode
authorStefan Agner <stefan@agner.ch>
Sun, 28 Sep 2014 23:50:05 +0000 (01:50 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 28 Sep 2014 23:50:05 +0000 (01:50 +0200)
commite8c50390dc9b1e2d54b649196097b5e8f5a6c559
tree9aceaf4035d0101bbeb7a9673d80a7fa2ed1c9ef
parent48083cfee4d2955a1218b5cbffbb0b35c98a0dc7
clocksource: vf_pit_timer: Support shutdown mode

In order to avoid waking up the system in a low power mode, the
clocksource should not generate interrupts anymore. Disable the PIT
timer interrupt when changing into the CLOCK_EVT_MODE_SHUTDOWN mode.

[dlezcano] : remove superfluous empty line

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
drivers/clocksource/vf_pit_timer.c