Skip to content
Snippets Groups Projects
Commit 45b9ea1d authored by Hans de Goede's avatar Hans de Goede Committed by Simon Glass
Browse files

usb: Stop reset procedure when a dev is handed over to a companion hcd


Short circuit the retry loop in legacy_hub_port_reset() by returning an
error from usb_control_msg() when a device was handed over to a companion
by the ehci code. This avoids trying to reset low / fullspeed devices 5
times needlessly. Also do not print an error when a device has been handed
over.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent ad84a42f
No related branches found
No related tags found
No related merge requests found
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