mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
Since1599069a62("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:09a75e8577("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]>