clocksource: exynos_mct: Move one-shot check from tick clear to ISR 86/199786/2
authorStuart Menefy <stuart.menefy@mathembedded.com>
Sun, 10 Feb 2019 22:51:13 +0000 (22:51 +0000)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 18 Feb 2019 04:55:12 +0000 (04:55 +0000)
commit9de9c3af6677c5d8aaad9c1cf3cc6fb74214e2fb
tree635e69072e5366421e546938e862b6ceda22592f
parent38aadf7e1025ba31a9961817c993150916ef693a
clocksource: 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>
[pending patch for mainline]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I1004b6947a338d27dc629f4174607663dedc1f33
drivers/clocksource/exynos_mct.c