]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:18:04 +0000 (17:18 -0700)
commit734b2fe93f4bcce29f7d971a106ea94e263e8676
treed8cedb608f209a3cfb4131b51cddd50ba9044eb0
parent54d8c40da1d8763cfa5699516626f8ed37db3eed
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