]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP2/3: DMTIMER: Clear pending interrupts when stopping a timer
authorTero Kristo <tero.kristo@nokia.com>
Fri, 23 Oct 2009 16:03:47 +0000 (19:03 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 22 Jan 2010 02:30:10 +0000 (18:30 -0800)
commit394b23495451396896010829df8784c906e379f1
treeb18b45715c6ebfd4f5e3022be441bc386b6d479d
parent79a064f0d942e50d31dd17f4569bedc8195b8e58
OMAP2/3: DMTIMER: Clear pending interrupts when stopping a timer

OMAP GP timers keep running for a few cycles after they are stopped,
which can cause the timer to expire and generate an interrupt. The
pending interrupt will prevent e.g. OMAP from entering suspend, thus
we ack it manually.  Only applicable on OMAP2/3/4.

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dmtimer.c