mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
According to xHCI spec 5.4.1.1, this command hasn't ask to clear PORTSC for R/S handling. So the PORTSC should always present the physical usb bus status. The old implementation changes the PORTSC according whether the pci_xhci_dev_emu struct is allocated, it is not consistent with spec and this patch is used to fix it. Tracked-On: #1893 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>