diff options
| author | Aditya Pakki <pakki001@umn.edu> | 2020-06-13 21:21:22 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:52:58 +0200 |
| commit | ee5d7234e5c4141ab47e110626e860af21a7859f (patch) | |
| tree | 173f5105a44c1b58a77122d2611daa20cc590ea9 /include/linux/debugobjects.h | |
| parent | 2cb5f0a92edfd1314bae69c9e4e807c68a5aa57d (diff) | |
drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync
[ Upstream commit 9fb10671011143d15b6b40d6d5fa9c52c57e9d63 ]
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.
Acked-by: Evan Quan <evan.quan@amd.com>
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
