diff options
| author | Li Jun <[email protected]> | 2021-09-08 10:28:19 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-14 10:34:50 +0200 |
| commit | 8cfac9a6744fcb143cb3e94ce002f09fd17fadbb (patch) | |
| tree | d3be6cb21f09d4b82272fd01ba5b19df9d5f7586 /tools/perf/scripts/python | |
| parent | d91adc5322ab53df4b6d1989242bfb6c63163eb2 (diff) | |
usb: dwc3: core: balance phy init and exit
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: <[email protected]>
Tested-by: faqiang.zhu <[email protected]>
Tested-by: John Stultz <[email protected]> #HiKey960
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Li Jun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions