https://github.com/torvalds/linux
Revision c526d0d4fc9707816b407d2d3336267d3271db2b authored by Sarah Sharp on 16 September 2009, 23:42:39 UTC, committed by Greg Kroah-Hartman on 09 October 2009, 20:52:06 UTC
When the host controller dies or is removed while a device is plugged in,
the USB core will attempt to deallocate the struct usb_device.  That will
call into xhci_free_dev().  This function used to attempt to submit a
disable slot command to the host controller and clean up the device
structures when that command returned.  Change xhci_free_dev() to skip the
command submission and just free the memory if the host controller died.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent e34b2fb
History
Tip revision: c526d0d4fc9707816b407d2d3336267d3271db2b authored by Sarah Sharp on 16 September 2009, 23:42:39 UTC
USB: xhci: Don't wait for a disable slot cmd when HC dies.
Tip revision: c526d0d
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 154.4 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top