Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad78c918 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
parent 9e204d88
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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);
}