]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: otg: twl: add missing IRQF_ONESHOT
authorFelipe Balbi <balbi@ti.com>
Thu, 14 Jun 2012 10:24:42 +0000 (13:24 +0300)
committerFelipe Balbi <balbi@ti.com>
Thu, 14 Jun 2012 10:27:12 +0000 (13:27 +0300)
this patch fixes the following warning:

[    2.825378] genirq: Threaded irq requested \
with handler=NULL and !ONESHOT for irq 363

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/twl4030-usb.c

index c4a86da858e25f72d15d7c13ca0adea8e6a46d89..02979306bf83c3bf11e7005ebdb6562bc9dd4166 100644 (file)
@@ -651,8 +651,8 @@ static int __devinit twl4030_usb_probe(struct platform_device *pdev)
         */
        twl->irq_enabled = true;
        status = request_threaded_irq(twl->irq, NULL, twl4030_usb_irq,
-                       IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING,
-                       "twl4030_usb", twl);
+                       IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING |
+                       IRQF_ONESHOT, "twl4030_usb", twl);
        if (status < 0) {
                dev_dbg(&pdev->dev, "can't get IRQ %d, err %d\n",
                        twl->irq, status);