projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74bd7b6
)
usb: isp1760: hcd: use new USB_RESUME_TIMEOUT
author
Felipe Balbi
<balbi@ti.com>
Fri, 13 Feb 2015 21:04:06 +0000
(15:04 -0600)
committer
Felipe 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/isp1760/isp1760-hcd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/isp1760/isp1760-hcd.c
b/drivers/usb/isp1760/isp1760-hcd.c
index 3cb98b1d5d2960171bea26d4fff70e2217d9e7f0..7911b6b6fe40d323082fd1d482e4d6282b8d4ba1 100644
(file)
--- a/
drivers/usb/isp1760/isp1760-hcd.c
+++ b/
drivers/usb/isp1760/isp1760-hcd.c
@@
-1869,7
+1869,7
@@
static int isp1760_hub_control(struct usb_hcd *hcd, u16 typeReq,
reg_write32(hcd->regs, HC_PORTSC1,
temp | PORT_RESUME);
priv->reset_done = jiffies +
- msecs_to_jiffies(
20
);
+ msecs_to_jiffies(
USB_RESUME_TIMEOUT
);
}
break;
case USB_PORT_FEAT_C_SUSPEND: