]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
CBUS: Enable suspend wakeup for Retu IRQ
authorJuha Yrjola <juha.yrjola@solidboot.com>
Thu, 28 Sep 2006 16:00:59 +0000 (19:00 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Thu, 28 Sep 2006 16:00:59 +0000 (19:00 +0300)
drivers/cbus/retu.c

index 45ecd350bc83c0f2c49468d920b6c208d3b19f55..e35e6605d12419845a3ad7acb377c9a253368aff 100644 (file)
@@ -336,12 +336,12 @@ static int __devinit retu_probe(struct device *dev)
 
        ret = request_irq(OMAP_GPIO_IRQ(retu_irq_pin), retu_irq_handler, 0,
                          "retu", 0);
-
        if (ret < 0) {
                printk(KERN_ERR PFX "Unable to register IRQ handler\n");
                omap_free_gpio(retu_irq_pin);
                return ret;
        }
+       set_irq_wake(OMAP_GPIO_IRQ(retu_irq_pin), 1);
 
        /* Register power off function */
        pm_power_off = retu_power_off;