summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x_link.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2009-09-16 23:42:39 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-09 20:52:06 (GMT)
commitc526d0d4fc9707816b407d2d3336267d3271db2b (patch)
tree1a5babd0d01773b40866889757e71c191c976bbc /drivers/net/bnx2x_link.c
parente34b2fbf28741310d1d59a217d34e050ce7867e8 (diff)
downloadlinux-fsl-qoriq-c526d0d4fc9707816b407d2d3336267d3271db2b.tar.xz
USB: xhci: Don't wait for a disable slot cmd when HC dies.
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>
Diffstat (limited to 'drivers/net/bnx2x_link.c')
0 files changed, 0 insertions, 0 deletions