summaryrefslogtreecommitdiff
path: root/scripts/docproc.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <[email protected]>2015-04-04 15:12:29 +0200
committerMarek Vasut <[email protected]>2015-04-14 05:47:48 +0200
commit04ee6ee2ca5ad419ebcbc64dae6e7128f32156fd (patch)
tree8abb7ed6f2cdbd5e7543a3ab4e1788710d90faa1 /scripts/docproc.c
parent8879be88576024a48ae135ea0b3835727d8c9a3a (diff)
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: Paul Kocialkowski <[email protected]>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions