]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: xhci: Define 'XHCI_MAX_HALT_USEC' macro only once
authorBhupesh Sharma <bhupesh.sharma@linaro.org>
Wed, 23 Aug 2023 15:41:23 +0000 (21:11 +0530)
committerMarek Vasut <marex@denx.de>
Mon, 14 Oct 2024 20:17:51 +0000 (22:17 +0200)
Right now xhci header file defines XHCI_MAX_HALT_USEC macro
twice. Fix the same.

Cc: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Reviewed-by: Marek Vasut <marex@denx.de>
include/usb/xhci.h

index 5fcdae1421f790dfd8cba805c8f18e3014d827ff..ba065311df598f6595cdcaca0543645a0219ff46 100644 (file)
@@ -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)