On Sat, May 14, 2016 at 02:45:05PM +0200, Hans de Goede wrote: > When the board is powering attached usb devices via the otg port > sometimes / on some devices it takes slightly too long for the Vbus > detection code in phy-sun4i-usb.c to signal that Vbus is high after > enabling Vbus and the musb hardware signals a MUSB_INTR_VBUSERROR > interrupt. > > This commit sets the otg state to A_WAIT_VRISE upon enabling Vbus > making musb_stage0_irq() ignore the first VBUSERR_RETRY_COUNT > VBUSERROR interrupts, fixing connection issues in these cases. > > Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Bin Liu <[email protected]> Regards, -Bin. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
