android_kernel_xiaomi_sm7250/drivers/gpu/drm/exynos
Navid Emamdoost b2cde935ad drm/exynos: fix ref count leak in mic_pre_enable
[ Upstream commit d4f5a095daf0d25f0b385e1ef26338608433a4c5 ]

in mic_pre_enable, pm_runtime_get_sync is called which
increments the counter even in case of failure, leading to incorrect
ref count. In case of failure, decrement the ref count before returning.

Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-07-22 09:32:01 +02:00
..
exynos7_drm_decon.c
exynos5433_drm_decon.c
exynos_dp.c
exynos_drm_crtc.c
exynos_drm_crtc.h
exynos_drm_dpi.c
exynos_drm_drv.c
exynos_drm_drv.h
exynos_drm_dsi.c
exynos_drm_fb.c
exynos_drm_fb.h
exynos_drm_fbdev.c
exynos_drm_fbdev.h
exynos_drm_fimc.c
exynos_drm_fimd.c
exynos_drm_g2d.c
exynos_drm_g2d.h
exynos_drm_gem.c
exynos_drm_gem.h
exynos_drm_gsc.c
exynos_drm_iommu.c
exynos_drm_iommu.h
exynos_drm_ipp.c
exynos_drm_ipp.h
exynos_drm_mic.c
exynos_drm_plane.c
exynos_drm_plane.h
exynos_drm_rotator.c
exynos_drm_scaler.c
exynos_drm_vidi.c
exynos_drm_vidi.h
exynos_hdmi.c
exynos_mixer.c
Kconfig
Makefile
regs-decon7.h
regs-decon5433.h
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h
regs-rotator.h
regs-scaler.h
regs-vp.h