diff options
author | Felipe Balbi <balbi@ti.com> | 2015-02-13 16:00:38 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-04-07 13:58:36 -0400 |
commit | 08debfb13b199716da6153940c31968c556b195d (patch) | |
tree | af19c09db583505f19414a759bdd6408e0c77916 /drivers/usb | |
parent | 7a606ac29752a3e571b83f9b3fceb1eaa1d37781 (diff) |
usb: host: sl811: use new USB_RESUME_TIMEOUT
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/sl811-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 4f4ba1ea9e9b..9118cd8de1a7 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c | |||
@@ -1259,7 +1259,7 @@ sl811h_hub_control( | |||
1259 | sl811_write(sl811, SL11H_CTLREG1, sl811->ctrl1); | 1259 | sl811_write(sl811, SL11H_CTLREG1, sl811->ctrl1); |
1260 | 1260 | ||
1261 | mod_timer(&sl811->timer, jiffies | 1261 | mod_timer(&sl811->timer, jiffies |
1262 | + msecs_to_jiffies(20)); | 1262 | + msecs_to_jiffies(USB_RESUME_TIMEOUT)); |
1263 | break; | 1263 | break; |
1264 | case USB_PORT_FEAT_POWER: | 1264 | case USB_PORT_FEAT_POWER: |
1265 | port_power(sl811, 0); | 1265 | port_power(sl811, 0); |