Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9a9b1d17 authored by David Vrabel's avatar David Vrabel
Browse files

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: default avatarDavid Vrabel <david.vrabel@csr.com>
parent 2226b1c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment