Commits

Peter Chen committed 6a722807031
MLK-16522-1 usb: cdns3: change cdns3_role_start work flow When it goes to start new role, the interrupt may be occurred before role_start returns, but at this time, the cdns->role is still the old role, so the interrupt handler will make mistake. In this commit, we set desired role before role_start, if the role_start has failed and the desired role is different with current one, it tries to back current role. BuildInfo: - SCFW 1f59442e, IMX-MKIMAGE fb52c576, ATF - U-Boot 2017.03-imx_v2017.03+g34be5a2 Acked-by: Li Jun <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>