diff options
author | Yuan Can <yuancan@huawei.com> | 2022-06-15 06:26:44 +0000 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2022-10-29 23:48:46 +0200 |
commit | e3558747ebe15306e6d0b75bd6d211436be4a7d5 (patch) | |
tree | e0c4d71e128581f10b4a1769874b661dbf816610 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c | |
parent | 3daf391fee830f2343cc6b1ba131b1b5115dea1f (diff) |
drm/rockchip: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() to avoid
device usage counter leak.
Signed-off-by: Yuan Can <yuancan@huawei.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220615062644.96837-1-yuancan@huawei.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions