[PATCH] usb: xhci: Define 'XHCI_MAX_HALT_USEC' macro only once

Bhupesh Sharma bhupesh.sharma at linaro.org
Wed Aug 23 17:41:23 CEST 2023


Right now xhci header file defines XHCI_MAX_HALT_USEC macro
twice. Fix the same.

Cc: Bin Meng <bmeng.cn at gmail.com>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma at linaro.org>
---
 include/usb/xhci.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/usb/xhci.h b/include/usb/xhci.h
index 4a4ac10229..958c94bfa7 100644
--- a/include/usb/xhci.h
+++ b/include/usb/xhci.h
@@ -1136,8 +1136,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.38.1



More information about the U-Boot mailing list