Commit f1106b21 authored by Felipe Balbi's avatar Felipe Balbi Committed by Sasha Levin

usb: host: isp116x: use new USB_RESUME_TIMEOUT

[ Upstream commit 8c0ae657 ]

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: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 9e26387b
...@@ -1487,7 +1487,7 @@ static int isp116x_bus_resume(struct usb_hcd *hcd) ...@@ -1487,7 +1487,7 @@ static int isp116x_bus_resume(struct usb_hcd *hcd)
spin_unlock_irq(&isp116x->lock); spin_unlock_irq(&isp116x->lock);
hcd->state = HC_STATE_RESUMING; hcd->state = HC_STATE_RESUMING;
msleep(20); msleep(USB_RESUME_TIMEOUT);
/* Go operational */ /* Go operational */
spin_lock_irq(&isp116x->lock); spin_lock_irq(&isp116x->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment