diff options
author | Felipe Balbi <balbi@ti.com> | 2015-02-27 20:07:49 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-10 16:33:33 -0400 |
commit | ad78c918602cb7cce0fab5d5813213853a6f351d (patch) | |
tree | fa143762671ddffcd6abebbcfa1365eea34d3ec4 /drivers/usb/musb/musb_dsps.c | |
parent | 9e204d885a6d0ae3696284bacd86e2b94dd936c8 (diff) |
usb: musb: dsps: just start polling already
there's no need to fake an IRQ, just check
if VBUS is valid already.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_dsps.c')
-rw-r--r-- | drivers/usb/musb/musb_dsps.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 9271450ebacd..baa757ba1353 100644 --- 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) | |||
225 | 225 | ||
226 | dsps_writel(reg_base, wrp->epintr_set, epmask); | 226 | dsps_writel(reg_base, wrp->epintr_set, epmask); |
227 | dsps_writel(reg_base, wrp->coreintr_set, coremask); | 227 | dsps_writel(reg_base, wrp->coreintr_set, coremask); |
228 | /* Force the DRVVBUS IRQ so we can start polling for ID change. */ | 228 | /* start polling for ID change. */ |
229 | dsps_writel(reg_base, wrp->coreintr_set, | 229 | mod_timer(&glue->timer, jiffies + msecs_to_jiffies(wrp->poll_timeout)); |
230 | (1 << wrp->drvvbus) << wrp->usb_shift); | ||
231 | dsps_musb_try_idle(musb, 0); | 230 | dsps_musb_try_idle(musb, 0); |
232 | } | 231 | } |
233 | 232 | ||