Thread (3 messages) 3 messages, 3 authors, 2021-09-09

Re: [PATCH] usb: dwc3: core: balance phy init and exit

From: Felipe Balbi <balbi@kernel.org>
Date: 2021-09-09 05:15:20

Hi,

Li Jun [off-list ref] writes:
After we start to do core soft reset while usb role switch,
the phy init is invoked at every switch to device mode, but
its counter part de-init is missing, this causes the actual
phy init can not be done when we really want to re-init phy
like system resume, because the counter maintained by phy
core is not 0. considering phy init is actually redundant for
role switch, so move out the phy init from core soft reset to
dwc3 core init where is the only place required.

Fixes: f88359e1588b ("usb: dwc3: core: Do core softreset when switch mode")
Cc: <redacted>
Tested-by: faqiang.zhu <redacted>
Signed-off-by: Li Jun <redacted>
we need a few more Tested-bys, but patch looks good:

Acked-by: Felipe Balbi <balbi@kernel.org>

-- 
balbi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help