commit | 93d3e58c97741f25c3e6c15e3dd61ab684f72cb2 | [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:24:19 2020 +0200 |
tree | f96256549fd4860fed592b4888b98b8b7e38b93e | |
parent | 74d20579fcf02320fb51efd12bad1ff320e0d4f0 [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>