diff options
author | 2021-05-24 15:21:02 +0800 | |
---|---|---|
committer | 2021-05-27 13:46:36 +0200 | |
commit | 33f90f27e1c5ccd648d3e78a1c28be9ee8791cf1 (patch) | |
tree | a4148734841718e6ca7194e0669823f34da65a47 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/fourcc: Remove struct drm_format_buf_name (diff) | |
download | wireguard-linux-33f90f27e1c5ccd648d3e78a1c28be9ee8791cf1.tar.xz wireguard-linux-33f90f27e1c5ccd648d3e78a1c28be9ee8791cf1.zip |
drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1621840862-106024-1-git-send-email-zou_wei@huawei.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions