]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
usb: host: sl811: use new USB_RESUME_TIMEOUT
authorFelipe Balbi <balbi@ti.com>
Fri, 13 Feb 2015 21:00:38 +0000 (15:00 -0600)
committerJiri Slaby <jslaby@suse.cz>
Mon, 4 May 2015 09:49:59 +0000 (11:49 +0200)
commit 08debfb13b199716da6153940c31968c556b195d upstream.

Make sure we're using the new macro, so our
resume signaling will always pass certification.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/host/sl811-hcd.c

index 5477bf5df2186549412612dc016e809fa6970124..6b488be615088f553ed322a04c3e5b10e03e4f01 100644 (file)
@@ -1260,7 +1260,7 @@ sl811h_hub_control(
                        sl811_write(sl811, SL11H_CTLREG1, sl811->ctrl1);
 
                        mod_timer(&sl811->timer, jiffies
-                                       + msecs_to_jiffies(20));
+                                       + msecs_to_jiffies(USB_RESUME_TIMEOUT));
                        break;
                case USB_PORT_FEAT_POWER:
                        port_power(sl811, 0);