diff options
author | David Vrabel <david.vrabel@csr.com> | 2009-01-06 18:58:02 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2009-01-06 18:58:02 +0100 |
commit | 9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d (patch) | |
tree | 319ec314e8b92788ab98bacd66f028b961210ece /drivers/usb/host/whci/whcd.h | |
parent | uwb: safely remove all reservations (diff) | |
download | linux-9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d.tar.xz linux-9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d.zip |
wusb: return -ENOTCONN when resetting a port with no connected device
If reading the device descriptor fails during hub_port_init() fails,
then the port is disabled, disconnecting the device. The port is then
reset at the start of the next init attempt but there is no device to
reset.
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/usb/host/whci/whcd.h')
0 files changed, 0 insertions, 0 deletions