usb: dwc3: gadget: introduce and use enable/disable irq methods
authorFelipe Balbi <balbi@ti.com>
Fri, 8 Feb 2013 13:24:04 +0000 (15:24 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:00 +0000 (11:17 +0200)
we don't need to enable IRQs until we have
a gadget driver loaded and ready to work,
so let's delay IRQ enable to ->udc_start()
and IRQ disable to ->udc_stop().

While at that, also move the related use of
request_irq() and free_irq().

Tested-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found