summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-06-14 13:24:42 +0300
committerFelipe Balbi <balbi@ti.com>2012-06-14 13:27:12 +0300
commit6b03b13336ee5d8da7bda8799c9ed990e3daedcc (patch)
tree23ea1d4feca4ffd3a8d738df0e299b3072ecb09a /drivers/usb/otg
parent79d6680f017a8084ae746f5d845a4fdc4f3a5e43 (diff)
downloadblackbird-op-linux-6b03b13336ee5d8da7bda8799c9ed990e3daedcc.tar.gz
blackbird-op-linux-6b03b13336ee5d8da7bda8799c9ed990e3daedcc.zip
usb: otg: twl: add missing IRQF_ONESHOT
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>
Diffstat (limited to 'drivers/usb/otg')
-rw-r--r--drivers/usb/otg/twl4030-usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/otg/twl4030-usb.c
index c4a86da858e2..02979306bf83 100644
--- a/drivers/usb/otg/twl4030-usb.c
+++ b/drivers/usb/otg/twl4030-usb.c
@@ -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);
OpenPOWER on IntegriCloud