[lkml]   [2012]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 3/3] twl4030: enable wakeup on twl4030 IRQ.
    Most of the interrupts that come through this line should trigger
    power button
    RTC alarm
    power available
    usb plug/unplug

    so mark the interrupt as a wakeup interrupt.
    This is particularly important for when the interrupt arrives during
    the late suspend phase. Without this setting it will be ignored.

    Signed-off-by: NeilBrown <>

    drivers/mfd/twl4030-irq.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c
    index 5d656e8..ad733d7 100644
    --- a/drivers/mfd/twl4030-irq.c
    +++ b/drivers/mfd/twl4030-irq.c
    @@ -757,6 +757,7 @@ int twl4030_init_irq(struct device *dev, int irq_num)
    dev_err(dev, "could not claim irq%d: %d\n", irq_num, status);
    goto fail_rqirq;
    + enable_irq_wake(irq_num);

    return irq_base;

     \ /
      Last update: 2012-04-25 05:13    [W:0.023 / U:38.428 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site