]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: GPIO: IRQSTATUS2 workaround for retention state
authorHiroshi DOYU <Hiroshi.DOYU@nokia.com>
Mon, 11 Sep 2006 07:04:50 +0000 (10:04 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Mon, 11 Sep 2006 10:41:03 +0000 (13:41 +0300)
commit9ba03e67f5344774015bd05c956e3d10bac74694
tree31d7f9d24f95b31af8d9c4bd345ac2dd04308a68
parent6e52f8d67f1a39e0cbd0caf770d8556cb9af4d81
ARM: OMAP: GPIO: IRQSTATUS2 workaround for retention state

In OMAP2420, an incoming GPIO interrupt always sets both GPIO_IRQSTATUS1
and GPIO_IRQSTATUS2, even if the relevant bit is disabled in
GPIO_IRQENABLE1/2 and DSP doesn't use GPIO at all. GPIO_IRQSTATUS1
is for MPU and GPIO_IRQSTATUS2 is for DSP. If IRQSTATUS is set, this
will prevent the system from going to idle state. This patch also clears
IRQSTATUS2 to avoid the above situation.

Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
arch/arm/plat-omap/gpio.c