Chromium Code Reviews
DescriptionTell the kernel to discard USB requests when they time out.
This patch adds a call to USBDEVFS_DISCARDURB when we time out a USB
transfer. This causes the host controller to stop polling the device for
data and means that a later transfer will receive the next bytes that
are sent from the device. Otherwise those bytes will be claimed by the
cancelled transfer and discarded.
BUG=640725
Review-Url: https://codereview.chromium.org/2274343002
Cr-Commit-Position: refs/heads/master@{#414635}
(cherry picked from commit 6f91bd7e250f649c06e1059033943d56dbf0a79f)
Committed: https://chromium.googlesource.com/chromium/src/+/6bc5ad0f6a48a2a136e5fe2510d83de6df8258ef
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||