From: Bhupesh Sharma Date: Wed, 23 Aug 2023 15:41:23 +0000 (+0530) Subject: usb: xhci: Define 'XHCI_MAX_HALT_USEC' macro only once X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=3794bbf9e0e7ce2652935514cbfac49545c329a9;p=u-boot.git usb: xhci: Define 'XHCI_MAX_HALT_USEC' macro only once Right now xhci header file defines XHCI_MAX_HALT_USEC macro twice. Fix the same. Cc: Bin Meng Signed-off-by: Bhupesh Sharma Reviewed-by: Marek Vasut --- diff --git a/include/usb/xhci.h b/include/usb/xhci.h index 5fcdae1421..ba065311df 100644 --- a/include/usb/xhci.h +++ b/include/usb/xhci.h @@ -1134,8 +1134,6 @@ void xhci_hcd_stop(int index); /************************************************************* EXTENDED CAPABILITY DEFINITIONS *************************************************************/ -/* Up to 16 ms to halt an HC */ -#define XHCI_MAX_HALT_USEC (16*1000) /* HC not running - set to 1 when run/stop bit is cleared. */ #define XHCI_STS_HALT (1 << 0)