diff options
| author | Shawn Lin <[email protected]> | 2016-01-28 08:14:18 +0000 |
|---|---|---|
| committer | Kishon Vijay Abraham I <[email protected]> | 2016-02-10 06:15:41 +0000 |
| commit | b82fcabe212a11698fd4b3e604d2f81d929d22f6 (patch) | |
| tree | b41eac1f9d5cc25472d465092744cc0b30d6800b /net/unix/af_unix.c | |
| parent | phy: Restrict phy-hi6220-usb to HiSilicon arm64 (diff) | |
| download | kernel-b82fcabe212a11698fd4b3e604d2f81d929d22f6.tar.gz kernel-b82fcabe212a11698fd4b3e604d2f81d929d22f6.zip | |
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: <[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]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
