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 <bmeng.cn@gmail.com> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> Reviewed-by: Marek Vasut <marex@denx.de>
This commit is contained in:
committed by
Marek Vasut
parent
fe91450a59
commit
3794bbf9e0
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user