OSDN Git Service

xHCI: release spinlock when setup interrupt
authorAndiry Xu <andiry.xu@amd.com>
Wed, 27 Oct 2010 08:44:52 +0000 (16:44 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 11 Nov 2010 18:36:51 +0000 (10:36 -0800)
commit74bb844af8ec6a4c360b1fc7feb139801c0cacfd
tree5037750c8c640cc8222cf49051460e980f4c22bc
parent241b652f1995de138106afd2f2e4eda9f8a3c240
xHCI: release spinlock when setup interrupt

Jiri Slaby reports spinlock is held while calling kmalloc(GFP_KERNEL)
and request_irq() in xhci_resume().

Release the spinlock when setup interrupt.

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci.c