|
@@ -921,7 +921,7 @@ static u32 xhci_get_port_status(struct usb_hcd *hcd,
|
|
time_left = wait_for_completion_timeout(
|
|
time_left = wait_for_completion_timeout(
|
|
&bus_state->rexit_done[wIndex],
|
|
&bus_state->rexit_done[wIndex],
|
|
msecs_to_jiffies(
|
|
msecs_to_jiffies(
|
|
- XHCI_MAX_REXIT_TIMEOUT));
|
|
|
|
|
|
+ XHCI_MAX_REXIT_TIMEOUT_MS));
|
|
spin_lock_irqsave(&xhci->lock, flags);
|
|
spin_lock_irqsave(&xhci->lock, flags);
|
|
|
|
|
|
if (time_left) {
|
|
if (time_left) {
|
|
@@ -935,7 +935,7 @@ static u32 xhci_get_port_status(struct usb_hcd *hcd,
|
|
} else {
|
|
} else {
|
|
int port_status = readl(port->addr);
|
|
int port_status = readl(port->addr);
|
|
xhci_warn(xhci, "Port resume took longer than %i msec, port status = 0x%x\n",
|
|
xhci_warn(xhci, "Port resume took longer than %i msec, port status = 0x%x\n",
|
|
- XHCI_MAX_REXIT_TIMEOUT,
|
|
|
|
|
|
+ XHCI_MAX_REXIT_TIMEOUT_MS,
|
|
port_status);
|
|
port_status);
|
|
status |= USB_PORT_STAT_SUSPEND;
|
|
status |= USB_PORT_STAT_SUSPEND;
|
|
clear_bit(wIndex, &bus_state->rexit_ports);
|
|
clear_bit(wIndex, &bus_state->rexit_ports);
|