usb: gadget: udc: lpc32xx: rework interrupt handling
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Apr 2019 12:09:08 +0000 (14:09 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 3 May 2019 06:13:48 +0000 (09:13 +0300)
commitc67d4262f61733cb4fb81954de53e34712962993
tree555e678230dd2561756002d332135ca39a778d4f
parent2a60f5eafa74727f083ce7732d5296bf3e0638b6
usb: gadget: udc: lpc32xx: rework interrupt handling

There is no actual need to do the enable/disable_irq dance. Instead enable
the interrupts on the phy only when necessary.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/lpc32xx_udc.c