Re: [PATCH 2/2] clocksource: exynos_mct: Clear timer interrupt when shutdown

From: Krzysztof Kozlowski
Date: Mon Feb 11 2019 - 03:48:10 EST


On Sun, 10 Feb 2019 at 23:51, Stuart Menefy
<stuart.menefy@xxxxxxxxxxxxxxxx> wrote:
>
> When shutting down the timer, ensure that after we have stopped the
> timer any pending interrupts are cleared. This fixes a problem when
> suspending, as interrupts are disabled before the timer is stopped,
> so the timer interrupt may still be asserted, preventing the system
> entering a low power state when the wfi is executed.
>
> Signed-off-by: Stuart Menefy <stuart.menefy@xxxxxxxxxxxxxxxx>
> ---
> drivers/clocksource/exynos_mct.c | 1 +
> 1 file changed, 1 insertion(+)

Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Best regards,
Krzysztof