From 3794bbf9e0e7ce2652935514cbfac49545c329a9 Mon Sep 17 00:00:00 2001 From: Bhupesh Sharma Date: Wed, 23 Aug 2023 21:11:23 +0530 Subject: [PATCH] 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 --- include/usb/xhci.h | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.39.5