ARM: mach-shmobile: sh73a0 gic_arch_extn.irq_set_wake() fix
authorMagnus Damm <damm@opensource.se>
Thu, 9 Jun 2011 06:20:03 +0000 (06:20 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Jun 2011 06:12:05 +0000 (15:12 +0900)
commit485b2ab55477f46cd1f7d16ba9f87cd074051811
tree2824bb561fed622dac35f939fba28a7ca42e3aaa
parente2a53b7c5bcfb63114c02c32117ed62eae463dc2
ARM: mach-shmobile: sh73a0 gic_arch_extn.irq_set_wake() fix

Initialize ->irq_set_wake() in gic_arch_extn to unbreak wake
up from the KEYSC device on AG5EVM in case of Suspend-to-RAM.

Without this patch "echo mem > /sys/power/state" and a key
press results in the following message on resume:

WARNING: at kernel/irq/manage.c:507 irq_set_irq_wake+0x7c/0xd8()
Unbalanced IRQ 103 wake disable

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/intc-sh73a0.c