usb: dwc3: gadget: don't request IRQs in atomic
authorFelipe Balbi <balbi@ti.com>
Thu, 27 Jun 2013 07:00:18 +0000 (10:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:21:37 +0000 (17:21 -0700)
commit7af69d3574095ab88d199a248669c9f50bb29528
treef8e86e1f97c5008dfced5f701f29be4a792b919a
parent1783b401e4add34045e15ffb2b901c1cbd8d4930
usb: dwc3: gadget: don't request IRQs in atomic

commit b0d7ffd44ba9cd2dfbf299674418193a5f9ed21a upstream.

We cannot request an IRQ with spinlocks held
as that would trigger a sleeping inside
spinlock warning.

Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c