]> asedeno.scripts.mit.edu Git - linux.git/commit
clocksource/drivers/timer-milbeaut: Fix to enable one-shot timer
authorSugaya Taichi <sugaya.taichi@socionext.com>
Fri, 12 Apr 2019 07:36:49 +0000 (16:36 +0900)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 2 May 2019 19:55:58 +0000 (21:55 +0200)
commitf0b1ca623d8df5dad977f22a1142a81a886b0eb8
tree70f63bc425aed575868b2c08f1f0509ceadc60a9
parent95170f0708f2f499da2594b29d39ac07ea221d7a
clocksource/drivers/timer-milbeaut: Fix to enable one-shot timer

Fix mlb_set_oneshot_state() to enable one-shot timer.
The function should stop and start a timer, but "start" statement was
dropped. Kick the register to start one-shot timer.

Fixes: b58f28f306db ("clocksource/drivers/timer-milbeaut: Introduce timer for Milbeaut SoCs")
Signed-off-by: Sugaya Taichi <sugaya.taichi@socionext.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-milbeaut.c