[PATCH 1/1] arm: omap: gpio: define .disable callback for gpio irq chip

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jan 7 05:11:59 EST 2011


On Fri, Jan 07, 2011 at 11:56:09AM +0200, Eduardo Valentin wrote:
> It is in wakeup-enable gpio. But the driver removes the wakeup
> flag from the gpio on its suspend function right after disabling the irq.
>  disable_irq(gpio_irq);
>  disable_irq_wake(gpio_irq);
> 
> In this case, the device uses gpio 61 as its irq line.

I think the solution to this is to have genirq synchronize the hardware
state with the lazy state on suspend transitions rather than trying to
fix this on a case-by-case basis.



More information about the linux-arm-kernel mailing list