mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-04 03:14:23 +00:00
Original code will reset the whole USB device when xHCI Reset Endpoint command is received, this behavior is not right. This patch is used to fix it. And according to xhci spec 4.6.8, if the endpoint is not in the halted state, xHC should reject to execute this command and the Context State Error should be returned. This patch also add this logic. Change-Id: I55a5918148d82d103fb3eb27d582f9676f9f61d3 Tracked-On: 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>