usb: host: sl811: use new USB_RESUME_TIMEOUT
authorFelipe Balbi <balbi@ti.com>
Fri, 13 Feb 2015 21:00:38 +0000 (15:00 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 7 Apr 2015 17:58:36 +0000 (12:58 -0500)
Make sure we're using the new macro, so our
resume signaling will always pass certification.

Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/sl811-hcd.c

index 4f4ba1ea9e9be5298a145ffd506c37370f266655..9118cd8de1a7431292aeef3913cdb64d645769e6 100644 (file)
@@ -1259,7 +1259,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);