diff options
author | David Vrabel <david.vrabel@csr.com> | 2009-01-06 17:58:02 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2009-01-06 17:58:02 +0000 |
commit | 9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d (patch) | |
tree | 319ec314e8b92788ab98bacd66f028b961210ece /drivers/mtd/nand/tmio_nand.c | |
parent | 2226b1c219a18804bc40e32a5d53c287a6c925d9 (diff) |
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/mtd/nand/tmio_nand.c')
0 files changed, 0 insertions, 0 deletions