Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phy: core: fix wrong err handle for phy_power_on
If phy_pm_runtime_get_sync failed but we already enable regulator, current code return directly without doing regulator_disable. This patch fix this problem and cleanup err handle of phy_power_on to be more readable. Fixes: 3be8812 ("phy: core: Support regulator ...") Cc: <[email protected]> # v3.18+ Cc: Roger Quadros <[email protected]> Cc: Axel Lin <[email protected]> Signed-off-by: Shawn Lin <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
- Loading branch information