]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.19.7/usb-host-isp116x-use-new-usb_resume_timeout.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.19.7 / usb-host-isp116x-use-new-usb_resume_timeout.patch
1 From 8c0ae6574ccfd3d619876a65829aad74c9d22ba5 Mon Sep 17 00:00:00 2001
2 From: Felipe Balbi <balbi@ti.com>
3 Date: Fri, 13 Feb 2015 14:50:10 -0600
4 Subject: usb: host: isp116x: use new USB_RESUME_TIMEOUT
5
6 From: Felipe Balbi <balbi@ti.com>
7
8 commit 8c0ae6574ccfd3d619876a65829aad74c9d22ba5 upstream.
9
10 Make sure we're using the new macro, so our
11 resume signaling will always pass certification.
12
13 Signed-off-by: Felipe Balbi <balbi@ti.com>
14 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15
16 ---
17 drivers/usb/host/isp116x-hcd.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 --- a/drivers/usb/host/isp116x-hcd.c
21 +++ b/drivers/usb/host/isp116x-hcd.c
22 @@ -1487,7 +1487,7 @@ static int isp116x_bus_resume(struct usb
23 spin_unlock_irq(&isp116x->lock);
24
25 hcd->state = HC_STATE_RESUMING;
26 - msleep(20);
27 + msleep(USB_RESUME_TIMEOUT);
28
29 /* Go operational */
30 spin_lock_irq(&isp116x->lock);