mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 |
||
|---|---|---|
| .. | ||
| cdns-mhdp8546-core.c | ||
| cdns-mhdp8546-core.h | ||
| cdns-mhdp8546-hdcp.c | ||
| cdns-mhdp8546-hdcp.h | ||
| cdns-mhdp8546-j721e.c | ||
| cdns-mhdp8546-j721e.h | ||
| Kconfig | ||
| Makefile | ||