]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc3: gadget: hold gadget IRQ in dwc->irq_gadget
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 16 May 2016 11:17:06 +0000 (14:17 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:36 +0000 (12:32 +0300)
commit3f308d17d7abbf35a6d40a7f16dc70cf43f12c98
treee0adf15e086dad8087599d272ecf1ea7baf8107e
parent51f5d49ad6f011ee380b866ea617fd90584189a2
usb: dwc3: gadget: hold gadget IRQ in dwc->irq_gadget

by holding gadget's IRQ number in dwc->irq_gadget,
it'll be simpler to free_irq() and disable the IRQ
in case an IRQ fires while we are runtime suspended.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c