diff options
| author | Paul Kocialkowski <contact@paulk.fr> | 2015-04-04 15:12:29 +0200 |
|---|---|---|
| committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:47:48 +0200 |
| commit | 04ee6ee2ca5ad419ebcbc64dae6e7128f32156fd (patch) | |
| tree | 8abb7ed6f2cdbd5e7543a3ab4e1788710d90faa1 /include/linux/unaligned/be_byteshift.h | |
| parent | 8879be88576024a48ae135ea0b3835727d8c9a3a (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 <contact@paulk.fr>
Diffstat (limited to 'include/linux/unaligned/be_byteshift.h')
0 files changed, 0 insertions, 0 deletions
