diff options
author | Felipe Balbi <balbi@ti.com> | 2013-12-20 15:00:48 -0600 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2014-05-15 07:29:17 +0200 |
commit | c668359a608067364be7a2a9325a09cc6fe7835e (patch) | |
tree | 281e178c2881255d7d7610854ab139e08eb2b18e /fs/cifs/TODO | |
parent | 0865e22f6a7287a79e6f62c34b116f9acb5ff293 (diff) | |
download | linux-3.10-c668359a608067364be7a2a9325a09cc6fe7835e.tar.gz linux-3.10-c668359a608067364be7a2a9325a09cc6fe7835e.tar.bz2 linux-3.10-c668359a608067364be7a2a9325a09cc6fe7835e.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>
[backport from upstream commit cedb7f89d1e1f631b7e5d920fe1ea7f742d07f79]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I8de0a4c76c5ad3de2d45996504f3f1aa716dc017
Diffstat (limited to 'fs/cifs/TODO')
0 files changed, 0 insertions, 0 deletions