diff options
| author | Johan Hovold <[email protected]> | 2022-08-04 17:09:53 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-08-18 19:33:40 +0200 |
| commit | d2ac7bef95c9ead307801ccb6cb6dfbeb14247bf (patch) | |
| tree | a4bc39cd200d84c8c626b4fd2f62af0b9a99a1e3 /tools/perf/scripts/python | |
| parent | 2aa48857ad52236a9564c71183d6cc8893becd41 (diff) | |
usb: dwc3: fix PHY disable sequence
Generic PHYs must be powered-off before they can be tore down.
Similarly, suspending legacy PHYs after having powered them off makes no
sense.
Fix the dwc3_core_exit() (e.g. called during suspend) and open-coded
dwc3_probe() error-path sequences that got this wrong.
Note that this makes dwc3_core_exit() match the dwc3_core_init() error
path with respect to powering off the PHYs.
Fixes: 03c1fd622f72 ("usb: dwc3: core: add phy cleanup for probe error handling")
Fixes: c499ff71ff2a ("usb: dwc3: core: re-factor init and exit paths")
Cc: [email protected] # 4.8
Reviewed-by: Andrew Halaney <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Johan Hovold <[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