commit | 45b9ea1da2f9e5110ced2fe2808aee224183aa54 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun May 10 14:10:16 2015 +0200 |
committer | Simon Glass <sjg@chromium.org> | Thu May 14 18:49:31 2015 -0600 |
tree | 80cd993c0f86e575fbfd22276861a9435211d8b8 | |
parent | ad84a42fc5143ef66a75550d7465b86cbc787f25 [diff] |
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: Hans de Goede <hdegoede@redhat.com>