From 3ee12d880015bb96037e6db33d8b2d76ee4a49e1 Mon Sep 17 00:00:00 2001 From: Tian Feng Date: Tue, 9 Jun 2015 03:21:11 +0000 Subject: [PATCH] MdeModulePkg/XhciDxe: Update async polling interval to 1ms. Updating the async polling interval from 50ms to 1ms for better performance. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tian Feng Reviewed-by: Star Zeng git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17585 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h index 729a8c0dd5..9927f79783 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h +++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h @@ -67,9 +67,9 @@ typedef struct _USB_DEV_CONTEXT USB_DEV_CONTEXT; #define XHC_POLL_DELAY (1000) // // XHC async transfer timer interval, set by experience. -// The unit is 100us, takes 50ms as interval. +// The unit is 100us, takes 1ms as interval. // -#define XHC_ASYNC_TIMER_INTERVAL EFI_TIMER_PERIOD_MILLISECONDS(50) +#define XHC_ASYNC_TIMER_INTERVAL EFI_TIMER_PERIOD_MILLISECONDS(1) // // XHC raises TPL to TPL_NOTIFY to serialize all its operations -- 2.39.2