projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e204d8
)
usb: musb: dsps: just start polling already
author
Felipe Balbi
<balbi@ti.com>
Sat, 28 Feb 2015 01:07:49 +0000
(19:07 -0600)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 10 Mar 2015 20:33:33 +0000
(15:33 -0500)
there's no need to fake an IRQ, just check
if VBUS is valid already.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/musb_dsps.c
b/drivers/usb/musb/musb_dsps.c
index 9271450ebacd5585b84f466ade142cd0ba3911a2..baa757ba13534daa7a27ce05a16da18acb85a93f 100644
(file)
--- a/
drivers/usb/musb/musb_dsps.c
+++ b/
drivers/usb/musb/musb_dsps.c
@@
-225,9
+225,8
@@
static void dsps_musb_enable(struct musb *musb)
dsps_writel(reg_base, wrp->epintr_set, epmask);
dsps_writel(reg_base, wrp->coreintr_set, coremask);
- /* Force the DRVVBUS IRQ so we can start polling for ID change. */
- dsps_writel(reg_base, wrp->coreintr_set,
- (1 << wrp->drvvbus) << wrp->usb_shift);
+ /* start polling for ID change. */
+ mod_timer(&glue->timer, jiffies + msecs_to_jiffies(wrp->poll_timeout));
dsps_musb_try_idle(musb, 0);
}