diff options
author | Heiner Kallweit <[email protected]> | 2022-08-23 19:58:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-08-30 15:31:16 +0200 |
commit | f9b995b49a07bd0d43b0e490f59be84415c745ae (patch) | |
tree | 161e27b409b2d46b3c4b0f83e6389c1a717e0d45 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 8cb339f1c1f04baede9d54c1e40ac96247a6393b (diff) |
usb: dwc2: fix wrong order of phy_power_on and phy_init
Since 1599069a62c6 ("phy: core: Warn when phy_power_on is called before
phy_init") the driver complains. In my case (Amlogic SoC) the warning
is: phy phy-fe03e000.phy.2: phy_power_on was called before phy_init
So change the order of the two calls. The same change has to be done
to the order of phy_exit() and phy_power_off().
Fixes: 09a75e857790 ("usb: dwc2: refactor common low-level hw code to platform.c")
Cc: [email protected]
Acked-by: Minas Harutyunyan <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Signed-off-by: Heiner Kallweit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions