diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-10 11:19:38 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-20 12:27:06 -0500 |
commit | 8de73b7bc13fde6a469328891713b89f5cb15c8b (patch) | |
tree | 24e03d0b495b05938ec3192de8711bd29911e046 /drivers/usb/musb/musb_hcd.c | |
parent | 8fe042be9aaef8898cf2a0de44d679b41d81da67 (diff) |
usb: musb: Rename CONFIG_USB_MUSB_TIMEOUT to MUSB_TIMEOUT
This variable has never been configured to another value at present, and
was not converted to Kconfig. Opt instead to rename this to
MUSB_TIMEOUT.
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/musb/musb_hcd.c')
-rw-r--r-- | drivers/usb/musb/musb_hcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c index 17901704f5..4676cabae0 100644 --- a/drivers/usb/musb/musb_hcd.c +++ b/drivers/usb/musb/musb_hcd.c @@ -118,7 +118,7 @@ static int wait_until_ep0_ready(struct usb_device *dev, u32 bit_mask) { u16 csr; int result = 1; - int timeout = CONFIG_USB_MUSB_TIMEOUT; + int timeout = MUSB_TIMEOUT; while (result > 0) { csr = readw(&musbr->txcsr); @@ -180,7 +180,7 @@ static int wait_until_ep0_ready(struct usb_device *dev, u32 bit_mask) static int wait_until_txep_ready(struct usb_device *dev, u8 ep) { u16 csr; - int timeout = CONFIG_USB_MUSB_TIMEOUT; + int timeout = MUSB_TIMEOUT; do { if (check_stall(ep, 1)) { @@ -212,7 +212,7 @@ static int wait_until_txep_ready(struct usb_device *dev, u8 ep) static int wait_until_rxep_ready(struct usb_device *dev, u8 ep) { u16 csr; - int timeout = CONFIG_USB_MUSB_TIMEOUT; + int timeout = MUSB_TIMEOUT; do { if (check_stall(ep, 0)) { |