diff options
author | Felipe Balbi <balbi@ti.com> | 2015-02-13 23:46:27 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-04-07 20:58:35 +0300 |
commit | 309be239369609929d5d3833ee043f7c5afc95d1 (patch) | |
tree | 8ef8cf9b65d901b1499e018bfdda723b7d622802 /drivers/usb/musb/musb_virthub.c | |
parent | b8fb6f79f76f478acbbffccc966daa878f172a0a (diff) | |
download | linux-309be239369609929d5d3833ee043f7c5afc95d1.tar.xz |
usb: musb: use new USB_RESUME_TIMEOUT
Make sure we're using the new macro, so our
resume signaling will always pass certification.
Based on original work by Bin Liu <Bin Liu <b-liu@ti.com>>
Cc: Bin Liu <b-liu@ti.com>
Cc: <stable@vger.kernel.org> # v3.10+
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_virthub.c')
-rw-r--r-- | drivers/usb/musb/musb_virthub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_virthub.c b/drivers/usb/musb/musb_virthub.c index 294e159f4afe..5428ed11440d 100644 --- a/drivers/usb/musb/musb_virthub.c +++ b/drivers/usb/musb/musb_virthub.c @@ -136,7 +136,7 @@ void musb_port_suspend(struct musb *musb, bool do_suspend) /* later, GetPortStatus will stop RESUME signaling */ musb->port1_status |= MUSB_PORT_STAT_RESUME; schedule_delayed_work(&musb->finish_resume_work, - msecs_to_jiffies(20)); + msecs_to_jiffies(USB_RESUME_TIMEOUT)); } } |