[PATCH] USB core and HCDs: don't put_device while atomic
commit6a8e87b23ff4a979bde5451a242466a4b3f9fe7d
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 19 Jan 2006 15:46:27 +0000 (19 10:46 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 22:49:58 +0000 (20 14:49 -0800)
tree3b3da90cdf42c363fbd6270c58dd21811b8e3004
parent1393adb2ebb00a2cd54b293cd7ee71e3376f4e9f
[PATCH] USB core and HCDs: don't put_device while atomic

This patch (as640) removes several put_device and the corresponding
get_device calls from the USB core and HCDs.  Some of the puts were done
in atomic contexts, and none of them are needed since the core now
guarantees that every endpoint will be disabled and every URB completed
before a USB device is released.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c
drivers/usb/host/ehci-mem.c
drivers/usb/host/ehci-q.c
drivers/usb/host/ehci-sched.c
drivers/usb/host/isp116x-hcd.c
drivers/usb/host/sl811-hcd.c
drivers/usb/host/uhci-q.c