]> asedeno.scripts.mit.edu Git - linux.git/commit
clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
authorStuart Menefy <stuart.menefy@mathembedded.com>
Sun, 10 Feb 2019 22:51:13 +0000 (22:51 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 23 Feb 2019 11:13:45 +0000 (12:13 +0100)
commita5719a40aef956ba704f2aa1c7b977224d60fa96
tree4e7e73db1e5f253fd04521a5e10532dbe089ec13
parentc950ca8c35eeb32224a63adc47e12f9e226da241
clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR

When a timer tick occurs and the clock is in one-shot mode, the timer
needs to be stopped to prevent it triggering subsequent interrupts.
Currently this code is in exynos4_mct_tick_clear(), but as it is
only needed when an ISR occurs move it into exynos4_mct_tick_isr(),
leaving exynos4_mct_tick_clear() just doing what its name suggests it
should.

Signed-off-by: Stuart Menefy <stuart.menefy@mathembedded.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: stable@vger.kernel.org # v4.3+
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/exynos_mct.c