Skip to content
Snippets Groups Projects
Commit 04ee6ee2 authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Marek Vasut
Browse files

usb: Early failure when the first descriptor read fails or is invalid


This may happen when using an USB1 device on a controller that only supports
USB2 (e.g. EHCI). Reading the first descriptor will fail (read 0 byte), so we
can abort the process at this point instead of failing later and wasting time.

Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>
parent 8879be88
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