OpenCloudOS-Kernel/drivers/gpu/drm/bridge/cadence
Yu Kuai f674555ee5
drm: bridge: cdns-mhdp8546: Fix PM reference leak in
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: Yu Kuai <yukuai3@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/20210531135622.3348252-1-yukuai3@huawei.com
2021-05-31 15:50:59 +02:00
..
Kconfig drm: bridge: cdns: Kconfig: Switch over dependency to ARCH_K3 2020-11-08 11:05:35 +01:00
Makefile drm: bridge: cdns-mhdp8546: Enable HDCP 2021-04-13 10:28:05 +02:00
cdns-mhdp8546-core.c drm: bridge: cdns-mhdp8546: Fix PM reference leak in 2021-05-31 15:50:59 +02:00
cdns-mhdp8546-core.h drm: bridge: cdns-mhdp8546: Enable HDCP 2021-04-13 10:28:05 +02:00
cdns-mhdp8546-hdcp.c drm: bridge: cdns-mhdp8546: Enable HDCP 2021-04-13 10:28:05 +02:00
cdns-mhdp8546-hdcp.h drm: bridge: cdns-mhdp8546: Enable HDCP 2021-04-13 10:28:05 +02:00
cdns-mhdp8546-j721e.c
cdns-mhdp8546-j721e.h