diff options
author | Stuart Menefy <stuart.menefy@mathembedded.com> | 2019-02-10 22:51:14 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 08:44:35 +0100 |
commit | 185ca832f7d74c2bbb4001ea22a5ca0819caa991 (patch) | |
tree | 7996bcf6acd815621ea6fff05f4f211906746a14 /crypto/hmac.c | |
parent | 3e08ffef428689e452e169bd23ae7b35affb6f8f (diff) | |
download | linux-stable-185ca832f7d74c2bbb4001ea22a5ca0819caa991.tar.gz linux-stable-185ca832f7d74c2bbb4001ea22a5ca0819caa991.tar.bz2 linux-stable-185ca832f7d74c2bbb4001ea22a5ca0819caa991.zip |
clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
commit d2f276c8d3c224d5b493c42b6cf006ae4e64fb1c upstream.
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@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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/hmac.c')
0 files changed, 0 insertions, 0 deletions