[PATCH] usb: dwc3: omap: remove devm_request_threaded_irq

Tony Lindgren tony at atomide.com
Fri Dec 9 13:59:58 PST 2016


* Grygorii Strashko <grygorii.strashko at ti.com> [161209 12:55]:
> Switch back from devm_request_threaded_irq() to request_threaded_irq() to
> avoid races between interrupt handler execution and PM runtime in error
> handling code path in probe and in dwc3_omap_remove():

Can't you just call disable_irq() on the exit path instead of removing
devm?

Regards,

Tony



More information about the linux-arm-kernel mailing list