Re: [PATCH 1/2] clocksource: exynos_mct: Move one-shot check from tick clear to ISR

From: Krzysztof Kozlowski
Date: Mon Feb 11 2019 - 03:47:43 EST


On Sun, 10 Feb 2019 at 23:51, Stuart Menefy
<stuart.menefy@xxxxxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxxxxx>
> ---
> drivers/clocksource/exynos_mct.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)

Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Best regards,
Krzysztof