From: Hiroshi DOYU Date: Mon, 11 Sep 2006 07:04:50 +0000 (+0300) Subject: ARM: OMAP: GPIO: IRQSTATUS2 workaround for retention state X-Git-Tag: v2.6.18-omap1~74 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ba03e67f5344774015bd05c956e3d10bac74694;p=pandora-kernel.git 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 Signed-off-by: Juha Yrjola --- Reading git-diff-tree failed