ARM: OMAP2+: timer: Ack pending interrupt during suspend
authorDave Gerlach <d-gerlach@ti.com>
Fri, 2 Nov 2018 10:30:46 +0000 (16:00 +0530)
committerTero Kristo <t-kristo@ti.com>
Tue, 6 Nov 2018 13:26:12 +0000 (15:26 +0200)
commit339b07fb3cad5f893be7eec749e32630dc1e195e
tree704d53f8412f18509d96b370b15e4dede03ad918
parenta9da1c14ed34ade1bb233ca16486feba92edb2ec
ARM: OMAP2+: timer: Ack pending interrupt during suspend

It is possible that when suspending the clock event timer it will generate
an interrupt just before their suspend is completed, but after interrupts have
been disabled. In this case any pending interrupts will prevent suspend, so
ACK the timer interrupt to avoid this.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/mach-omap2/timer.c