Searched hist:b82fcabe212a11698fd4b3e604d2f81d929d22f6 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/phy/ |
H A D | phy-core.c | diff b82fcabe212a11698fd4b3e604d2f81d929d22f6 Thu Jan 28 02:14:18 CST 2016 Shawn Lin <shawn.lin@rock-chips.com> 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: 3be88125d85d ("phy: core: Support regulator ...") Cc: <stable@vger.kernel.org> # v3.18+ Cc: Roger Quadros <rogerq@ti.com> Cc: Axel Lin <axel.lin@ingics.com> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
|