]> git.baikalelectronics.ru Git - kernel.git/commit
USB: omap_udc: use devm_request_irq()
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 24 Nov 2018 22:17:04 +0000 (00:17 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 10:37:42 +0000 (12:37 +0200)
commit238a9c9088ec30f3de477f55187666cf3b5ba42a
tree5f786fae4cbc79e3cdbca99fb9a1738bd1ba6eb7
parentdeedbe977241872f725c4e21a562e76278e019b7
USB: omap_udc: use devm_request_irq()

The current code fails to release the third irq on the error path
(observed by reading the code), and we get also multiple WARNs with
failing gadget drivers due to duplicate IRQ releases. Fix by using
devm_request_irq().

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/omap_udc.c