summaryrefslogtreecommitdiff
path: root/include/usb_bb.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2014-10-09 16:57:13 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-11 02:22:18 +0000
commit4d81320ed8b5f8231759d1608183a0daf233ea45 (patch)
treed6bf08d04aa64903314ddf2282ad61aab06d4d9f /include/usb_bb.h
parentac2b30d1e74f4cf2e956db58d13fbaffd61cb3aa (diff)
downloadchrome-ec-4d81320ed8b5f8231759d1608183a0daf233ea45.tar.gz
usb: allow reading descriptors larger than 64 bytes
When a control transfer requests a descriptor larger than 64 bytes, we need to do several IN transfers to get the proper packet sequence : SETUP IN IN IN .. IN OUT(null) Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=samus BUG=chrome-os-partner:32652 TEST=set USB_STR_VERSION to "012345678901234567890123456789ABCDEF", then do "lsusb -v" on the host and check the USB transfers with the protocol analyzer. Change-Id: I6940095008cb2a34c6896b337c5eda4fa267adc1 Reviewed-on: https://chromium-review.googlesource.com/222700 Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Todd Broch <tbroch@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/usb_bb.h')
0 files changed, 0 insertions, 0 deletions