Re: [PATCH] drm/exynos: use pm_runtime_resume_and_get()

2021-05-25 Thread kernel test robot
Hi Inki, I love your patch! Yet something to improve: [auto build test ERROR on drm-exynos/exynos-drm-next] [also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip tegra-drm/drm/tegra/for-next v5.13-rc3 next-20210525] [cannot apply to drm/drm-next] [If your patch is applied to the

[PATCH] drm/exynos: use pm_runtime_resume_and_get()

2021-05-25 Thread Inki Dae
Use pm_runtime_resume_and_get() instead of pm_runtime_get_sync() to deal with usage counter. pm_runtime_get_sync() increases the usage counter even when it failed, which makes callers to forget to decrease the usage counter and resulted in reference leak. pm_runtime_resume_and_get() function