MA-19419 usb: dwc3: core: balance usb phy init for core soft reset
After we start to do core soft reset while switch to device mode, the phy init will be done at every switch, but its counter part de-init is missing, this cause the phy init and exit is not balanced, then when we really need do phy init like system resume, it will not be done by phy driver because the maintained counter is not 0. Considering actually phy init is redundant while mode switch, so move out the phy init to dwc3 core init where is the only place required. Reviewed-by:Haibo Chen <haibo.chen@nxp.com> Tested-by:
faqiang.zhu <faqiang.zhu@nxp.com> Signed-off-by:
Li Jun <jun.li@nxp.com> Acked-by:
Jason Liu <jason.hui.liu@nxp.com>
Please register or sign in to comment