]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: fix BUG: sleeping function called from invalid context at /home/jeremy/hg/xen...
authorOliver Neukum <oliver@neukum.org>
Tue, 24 Jul 2007 13:13:42 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 30 Jul 2007 20:27:46 +0000 (13:27 -0700)
commit3ddad8232c3802f7a602d1ea24938a8067114479
treeba648621b4c4df0846e222c6c81843bca6077b55
parentf42449003114cc17cda0458c14f2deadfadf9f63
USB: fix BUG: sleeping function called from invalid context at /home/jeremy/hg/xen/paravirt/linux/drivers/usb/core/urb.c:524, in_atomic():1, irqs_disabled():0

Clearly there's a bug in
drivers/usb/serial/usb-serial.c:usb_serial_put().  It shouldn't call
kref_put() while holding a spinlock.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb-serial.c