USB: xhci: drop spinlock in xhci_urb_enqueue() error path.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 30 Apr 2009 02:06:36 +0000 (19:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:50 +0000 (21:44 -0700)
commitc7959fb265d8d5e00eb6d30717eb63e6189a1f07
treeee479989ec423d5b9d9f7a5c6cdb47259d73ecaf
parentf0058c627855ecb3b6c7185b7ad1910463c24c42
USB: xhci: drop spinlock in xhci_urb_enqueue() error path.

Make sure the error path in xhci_urb_enqueue() releases the spinlock
before it returns.  Reported by Oliver in
http://marc.info/?l=linux-usb&m=124091637311832&w=2

Reported-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-hcd.c