commit | 4daf2296e42f67a9eff15a4f346bcaac984f62e2 | [log] [tgz] |
---|---|---|
author | Aditya Pakki <pakki001@umn.edu> | Sat Jun 13 20:55:39 2020 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 03 11:21:16 2020 +0200 |
tree | d2347f1080d9f7a0e80ad139eecbdf15717df1eb | |
parent | ae8246779f14a5d1fc269d5de9fb588debdc3d94 [diff] |
drm/radeon: fix multiple reference count leak [ Upstream commit 6f2e8acdb48ed166b65d47837c31b177460491ec ] On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>