mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-10 06:18:09 +00:00
Accoring to xHCI spec, there are some TRBs with zero data length which used to pass command to xHCI. In the DM, those TRBs should not be sent to native device through libusb. The logic in the current implentation fails to process some corner cases, this patch is used to fix it. Tracked-On: #1639 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>