remarkable-linux/drivers/staging/imx-drm
Russell King 9fe73d46ed imx-drm: imx-drm-core: make imx_drm_crtc_register() safer
imx_drm_crtc_register() doesn't clean up the CRTC upon failure, which
leaves the CRTC attached to the DRM device.  Also, it does setup after
attaching the CRTC to the DRM device.

Fix this by reordering the function such that we do the setup before
drm_crtc_init(): this fixes both issues.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-17 17:12:55 -08:00
..
ipu-v3 imx-drm: ipu-v3: fix potential CRTC device registration race 2013-12-17 17:11:39 -08:00
imx-drm-core.c imx-drm: imx-drm-core: make imx_drm_crtc_register() safer 2013-12-17 17:12:55 -08:00
imx-drm.h staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
imx-fb.c
imx-fbdev.c
imx-ldb.c staging: drm/imx: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO 2013-10-27 20:30:27 -07:00
imx-tve.c imx-drm: imx-tve: don't call sleeping functions beneath enable_lock spinlock 2013-12-17 17:12:55 -08:00
ipuv3-crtc.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ipuv3-plane.c staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
ipuv3-plane.h staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile staging: imx-drm: Fix modular build of DRM_IMX_IPUV3 2013-11-25 09:25:18 -08:00
parallel-display.c imx-drm: parallel-display: Add MODULE_ALIAS() 2013-08-19 15:38:03 -07:00
TODO staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00