summaryrefslogtreecommitdiff
path: root/include/usb
diff options
context:
space:
mode:
authorBhupesh Sharma <[email protected]>2023-08-23 21:11:23 +0530
committerMarek Vasut <[email protected]>2024-10-14 22:17:51 +0200
commit3794bbf9e0e7ce2652935514cbfac49545c329a9 (patch)
tree6c3c8d61e74aa3d2bff5781169221ce659cfc00e /include/usb
parentfe91450a596b558de31ae23f917e53201bc6b4c7 (diff)
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 <[email protected]> Signed-off-by: Bhupesh Sharma <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/xhci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/usb/xhci.h b/include/usb/xhci.h
index 5fcdae1421f..ba065311df5 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)