usb: dwc3: gadget: get rid of IRQF_ONESHOT
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Jun 2013 18:11:14 +0000 (21:11 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:59 +0000 (13:56 +0300)
commite8adfc30ff9282a728fd8b666b6418308164c415
tree9d2bed840c0e38cbadb2d59ad214b0f2a1033f9d
parent68d6a01bdd2a9ebae858271129d0a8d4ae865e93
usb: dwc3: gadget: get rid of IRQF_ONESHOT

We can make use of bit 31 of the GEVNTSIZ(n)
registers to mask/unmask interrupts from that
particular interrupter.

With that feature, we can easily drop IRQF_ONESHOT
from our driver which makes it possible to
properly change IRQ priorities when using RT
patchset *and* it allows us to make use of the
scheduler to choose the proper time to handle
this IRQ thread.

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