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)
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>

No differences found