Re: [PATCH 02/13] usb: host: xhci: use new USB_RESUME_TIMEOUT

2015-02-16 Thread Mathias Nyman
On 13.02.2015 23:07, Felipe Balbi wrote:
> Make sure we're using the new macro, so our
> resume signaling will always pass certification.
> 
> Signed-off-by: Felipe Balbi 
> ---
>  drivers/usb/host/xhci-ring.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
> index e692e769c50c..775bb54ef277 100644
> --- a/drivers/usb/host/xhci-ring.c
> +++ b/drivers/usb/host/xhci-ring.c
> @@ -1574,7 +1574,7 @@ static void handle_port_status(struct xhci_hcd *xhci,
>   } else {
>   xhci_dbg(xhci, "resume HS port %d\n", port_id);
>   bus_state->resume_done[faked_port_index] = jiffies +
> - msecs_to_jiffies(20);
> + msecs_to_jiffies(USB_RESUME_TIMEOUT);
>   set_bit(faked_port_index, &bus_state->resuming_ports);
>   mod_timer(&hcd->rh_timer,
> bus_state->resume_done[faked_port_index]);
> 

Acked-by: Mathias Nyman 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 02/13] usb: host: xhci: use new USB_RESUME_TIMEOUT

2015-02-13 Thread Felipe Balbi
Make sure we're using the new macro, so our
resume signaling will always pass certification.

Signed-off-by: Felipe Balbi 
---
 drivers/usb/host/xhci-ring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index e692e769c50c..775bb54ef277 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -1574,7 +1574,7 @@ static void handle_port_status(struct xhci_hcd *xhci,
} else {
xhci_dbg(xhci, "resume HS port %d\n", port_id);
bus_state->resume_done[faked_port_index] = jiffies +
-   msecs_to_jiffies(20);
+   msecs_to_jiffies(USB_RESUME_TIMEOUT);
set_bit(faked_port_index, &bus_state->resuming_ports);
mod_timer(&hcd->rh_timer,
  bus_state->resume_done[faked_port_index]);
-- 
2.3.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html