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)
commit04f7e3e5134b9517bd9a78a84a9ee0f982d3ebdd
tree9aceaf4035d0101bbeb7a9673d80a7fa2ed1c9ef
parente4a6b378751fa8934c691816da1423e849059fad
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