mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
drm/rockchip: lvds: fix PM usage counter unbalance in poweron
[ Upstream commit4dba27f1a1] pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. We fix it by replacing it with the newest pm_runtime_resume_and_get to keep usage counter balanced. Fixes:34cc0aa254("drm/rockchip: Add support for Rockchip Soc LVDS") Fixes:cca1705c3d("drm/rockchip: lvds: Add PX30 support") Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220922132107.105419-3-zhangqilong3@huawei.com Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2734b3eb72
commit
12a9b4c4eb
1 changed files with 7 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue