clocksource: tcb_clksrc: Make tc_mode interrupt safe
authorDavid Jander <david@protonic.nl>
Thu, 8 May 2014 10:06:25 +0000 (12:06 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 22 May 2014 16:54:58 +0000 (18:54 +0200)
commitacbf6d21ac81195071b97ebb114b0b37bd9fcc86
tree83ae3275d5eed8fefb28af5def2d1d12de7dbb21
parentf214be50f317d78c47532d4ca8aa0ba5e79fc1ca
clocksource: tcb_clksrc: Make tc_mode interrupt safe

tc_mode() can be called from interrupt context and thus must not call
clk_*prepare*() functions.

Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/clocksource/tcb_clksrc.c