mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
21accb31ac
If a control request has a DataStage, execute the request during the data stage so that we can get the actual length of the transferred data. This will allow the ISP (Interrupt on Short Packets) bit to be implemented correctly; we need to know the actual length during processing of the DataStage TRB rather than at the StatusStage as we did previously. (Note that ISP isn't implemented yet in this change; this just passes the correct length to xhci_transfer.on_transfer_complete, which doesn't do anything useful with the length yet in the short transfer case.) BUG=chromium:831850 TEST=Test adb on Crostini Change-Id: I340424269aa139b0d9698f44ce9d3a457f3eb899 Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1593715 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |