commit | 8698e2acf3a5e8d6f260ca7675f94e5087df5ae8 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Fri Feb 08 15:24:04 2013 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Mar 18 11:17:00 2013 +0200 |
tree | 7e18c79a0f72c410d9af65841aed9af42d9fe81f | |
parent | f122d33e4b0045a42238b9a4c3943adf7e8313c1 [diff] |
usb: dwc3: gadget: introduce and use enable/disable irq methods 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>