]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit389847b714f2415c2fcdcf1a07c0f4c2e6027983
tree83ae3275d5eed8fefb28af5def2d1d12de7dbb21
parenta08c724a8a089028902e7b94d9c9ceb7194820a6
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