summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-12-20 22:00:48 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2013-12-24 19:22:58 +0100
commitcedb7f89d1e1f631b7e5d920fe1ea7f742d07f79 (patch)
tree77d10767ded08d3d950f33b3f500abf2f7e1fd0d /drivers/powercap
parentLinux 3.13-rc5 (diff)
downloadlinux-cedb7f89d1e1f631b7e5d920fe1ea7f742d07f79.tar.xz
linux-cedb7f89d1e1f631b7e5d920fe1ea7f742d07f79.zip
phy: core: properly handle failure of pm_runtime_get functions
In case pm_runtime_get*() fails, it still increments pm usage counter, so we *must* make sure to pm_runtime_put() even in those cases. This patch fixes that mistake the same way usbcore treats those possible failures. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions