mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
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>
This commit is contained in:
parent
9e204d885a
commit
ad78c91860
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue