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)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:39 +0000 (13:56 +0300)
commitb0d7ffd44ba9cd2dfbf299674418193a5f9ed21a
treef94aa3f515255204fab472d80814e1fd8ead1d1e
parent2b0c49530bc5fdbde93295e5c8f26f55d0de1e04
usb: dwc3: gadget: don't request IRQs in atomic

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

Cc: <stable@vger.kernel.org> # v3.10
Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c