summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-omap-control.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-03-06 08:55:10 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2015-03-13 12:44:38 +0100
commit736b67a32062240592aad49033859f9712dd18ca (patch)
treee36f4f7794a6f770e18b0f49f0846884993185fb /drivers/phy/phy-omap-control.c
parentphy: miphy28lp: Convert to devm_kcalloc and fix wrong sizof (diff)
downloadlinux-736b67a32062240592aad49033859f9712dd18ca.tar.xz
linux-736b67a32062240592aad49033859f9712dd18ca.zip
phy: core: Fixup return value of phy_exit when !pm_runtime_enabled
When phy_pm_runtime_get_sync() returns -ENOTSUPP, phy_exit() also returns -ENOTSUPP if !phy->ops->exit. Fix it. Also move the code to override ret close to the code we got ret. I think it is less error prone this way. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-omap-control.c')
0 files changed, 0 insertions, 0 deletions