kernel_samsung_a53x/drivers/gpu/drm/msm
Konrad Dybcio 226654d60b drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks
[ Upstream commit 3d07a411b4faaf2b498760ccf12888f8de529de0 ]

This helper has been introduced to avoid programmer errors (missing
_put calls leading to dangling refcnt) when using pm_runtime_get, use it.

While at it, start checking the return value.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: 5c8290284402 ("drm/msm/dsi: Split PHY drivers to separate files")
Patchwork: https://patchwork.freedesktop.org/patch/543350/
Link: https://lore.kernel.org/r/20230620-topic-dsiphy_rpm-v2-1-a11a751f34f0@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:12:40 +01:00
..
adreno Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
disp drm/msm/mdp4: flush vblank event on disable 2024-11-18 12:12:40 +01:00
dp drm/msm/dp: skip validity check for DP CTS EDID checksum 2024-11-18 11:43:13 +01:00
dsi drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks 2024-11-18 12:12:40 +01:00
edp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdmi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic_tracepoints.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fbdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fence.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_prime.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_shrinker.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_submit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_vma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu_tracepoints.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpummu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_iommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_kms.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_mmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_perf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_rd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_ringbuffer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_ringbuffer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_submitqueue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
NOTES Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00