diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-20 13:47:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 14:14:45 +0300 |
commit | 39096c0f5c1ec9a3f9840ee315251493a607a57b (patch) | |
tree | 1c9e4897c1ed3be4b64a88ebe5adb243813d0531 /drivers/ps3 | |
parent | 12f61a929604a7e4aee4632ea73e81fab564f703 (diff) | |
download | linux-39096c0f5c1ec9a3f9840ee315251493a607a57b.tar.xz |
drm/nouveau/dispnv50: fix runtime pm imbalance on error
[ Upstream commit dc455f4c888365595c0a13da445e092422d55b8d ]
pm_runtime_get_sync() increments the runtime PM usage counter even
the call returns an error code. Thus a pairing decrement is needed
on the error handling path to keep the counter balanced.
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions