mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-29 21:49:05 +00:00
During UOS S3 resume, the UOS will handle USB disconnect flow then re-enumeration flow due to vbus drop be emulted for UOS S3 case. The re-enumeration flow will impact UOS S3 resume latency, this patch delayed the re-enumeration 2s as the workaround for this issue. Need to do performance optimization in future. This 2s can be tune which is depend on how fast UOS S3 resume, it should be as short as possible to make virtual USB device ready immediately after UOS screen turn on. Tracked-On: #2576 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>