linux/drivers/gpu/drm/exynos
Marek Szyprowski 0a51897bfa drm/exynos: Fix potential NULL pointer dereference in suspend/resume paths
The patch 6e8edf8a7d: "drm/exynos: Fix suspend/resume support" introduced
a new code in suspend/resume paths. However it unconditionally dereference
drm_dev pointer, which might be NULL if suspend/resume happens before
Exynos DRM driver components bind. This patch fixes this issue.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 6e8edf8a7d "drm/exynos: Fix suspend/resume support"
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2017-10-16 07:44:48 +09:00
..
exynos7_drm_decon.c drm/exynos: simplify set_pixfmt() in DECON and FIMD drivers 2017-08-25 14:30:27 +09:00
exynos5433_drm_decon.c drm: exynos: include linux/irq.h 2017-09-19 19:50:47 +09:00
exynos_dp.c drm/exynos: use helper to set possible crtcs 2017-08-25 11:26:10 +09:00
exynos_drm_core.c drm/exynos: use helper to set possible crtcs 2017-08-25 11:26:10 +09:00
exynos_drm_crtc.c drm/exynos: add mode_valid callback to exynos_drm 2017-08-25 11:58:07 +09:00
exynos_drm_crtc.h drm/exynos: use helper to set possible crtcs 2017-08-25 11:26:10 +09:00
exynos_drm_dpi.c drm/exynos: use helper to set possible crtcs 2017-08-25 11:26:10 +09:00
exynos_drm_drv.c drm/exynos: Fix potential NULL pointer dereference in suspend/resume paths 2017-10-16 07:44:48 +09:00
exynos_drm_drv.h drm/exynos: Fix suspend/resume support 2017-09-19 19:50:44 +09:00
exynos_drm_dsi.c drm/exynos/dsi: propagate info about command mode from panel 2017-08-25 11:26:15 +09:00
exynos_drm_fb.c drm/exynos: mixer: enable NV12MT support for the video plane 2017-08-25 12:04:51 +09:00
exynos_drm_fb.h
exynos_drm_fbdev.c drm/exynos: Fix suspend/resume support 2017-09-19 19:50:44 +09:00
exynos_drm_fbdev.h drm/exynos: Fix suspend/resume support 2017-09-19 19:50:44 +09:00
exynos_drm_fimc.c drm/exynos: Print kernel pointers in a restricted form 2017-03-21 13:17:22 +09:00
exynos_drm_fimc.h
exynos_drm_fimd.c drm/exynos: simplify set_pixfmt() in DECON and FIMD drivers 2017-08-25 14:30:27 +09:00
exynos_drm_g2d.c drm/exynos: g2d: change platform driver name to 'exynos-drm-g2d' 2017-02-07 13:52:49 +09:00
exynos_drm_g2d.h
exynos_drm_gem.c drm/exynos: Use .dumb_map_offset and .dumb_destroy defaults 2017-08-16 20:17:50 +02:00
exynos_drm_gem.h drm/exynos: Use .dumb_map_offset and .dumb_destroy defaults 2017-08-16 20:17:50 +02:00
exynos_drm_gsc.c drm/exynos: Print kernel pointers in a restricted form 2017-03-21 13:17:22 +09:00
exynos_drm_gsc.h
exynos_drm_iommu.c
exynos_drm_iommu.h
exynos_drm_ipp.c drm/exynos: Print kernel pointers in a restricted form 2017-03-21 13:17:22 +09:00
exynos_drm_ipp.h
exynos_drm_mic.c drm/exynos/mic: use mode info stored in CRTC to detect i80 mode 2017-08-25 11:58:01 +09:00
exynos_drm_plane.c drm/exynos: mixer: enable NV12MT support for the video plane 2017-08-25 12:04:51 +09:00
exynos_drm_plane.h drm/exynos: set plane possible_crtcs in exynos_plane_init 2017-06-01 16:21:34 +09:00
exynos_drm_rotator.c drm/exynos: Print kernel pointers in a restricted form 2017-03-21 13:17:22 +09:00
exynos_drm_rotator.h
exynos_drm_vidi.c drm/exynos: use helper to set possible crtcs 2017-08-25 11:26:10 +09:00
exynos_drm_vidi.h
exynos_hdmi.c drm/exynos/hdmi: Fix unsafe list iteration 2017-09-20 12:05:23 +09:00
exynos_mixer.c drm/exynos: mixer: remove src offset from mixer_graph_buffer() 2017-08-25 12:10:33 +09:00
Kconfig drm/exynos: select CEC_CORE if CEC_NOTIFIER 2017-07-27 09:24:03 +09:00
Makefile
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h drm/exynos: mixer: document YCbCr magic numbers 2017-06-01 16:21:36 +09:00
regs-rotator.h
regs-vp.h