On Fri, Nov 7, 2014 at 10:22 AM, Yoshihiro Kaneko <[email protected]> wrote:
> From: Shinya Kuribayashi <[email protected]> > > All IRQs in the kernel get disabled by PM core prior to .suspend_noirq() > step through kernel/irq/pm.c::suspend_device_irqs(). > > The SYSC hardware block in the R-Car SoCs, on the other hand, uses any > interrupt as wake-up source(es) and requires them to be unmasked during > the system is suspended. > > This patch implements .irq_set_wake() which makes __disable_irq() call > a NOP when a GPIO port is claimed as a wake-up source. > > Signed-off-by: Shinya Kuribayashi <[email protected]> > Signed-off-by: Koji Matsuoka <[email protected]> > Signed-off-by: Yoshihiro Kaneko <[email protected]> Patch tentatively applied unless Magnus or Laurent starts complaining... This driver should be simple to convert to GPIOLIB_IRQCHIP and get rid of some code overhead. Yoshihiro, can you look into this? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
