aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/atm
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2005-11-18 12:06:34 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 13:48:34 -0800
commit7d069b7d80933004282c48edbe62526e4cb0aecc (patch)
treec18d1e04366bee64b62b28d4953fed3c83e85fcc /drivers/usb/atm
parent9ad3d6ccf5eee285e233dbaf186369b8d477a666 (diff)
[PATCH] USB: Disconnect children during hub unbind
This patch (as606b) is an updated version of my earlier patch to disconnect children from a hub device when the hub driver is unbound. Thanks to the changes in the driver core locking, we now know that the entire hub device (and not just the interface) is locked whenever the hub driver's disconnect method runs. Hence it is safe to disconnect the child device structures immediately instead of deferring the job. The earlier version of the patch neglected to disable the hub's ports. We don't want to forget that; otherwise we'd end up with live devices using addresses that have been recycled. This update adds the necessary code. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm')
0 files changed, 0 insertions, 0 deletions