linux-sg2042/drivers/staging/imx-drm
Philipp Zabel 47b1be5c0f staging: imx/drm: request irq only after adding the crtc
If the bootloader already enabled the display, the interrupt handler
will be called as soon as it is registered. If the CRTC is not already
added at this time, the call to imx_drm_handle_vblank will result in
a NULL pointer dereference.

The patch fixes a kernel panic [1], which has been on linux-next since
Jan 8 [2].

[1] http://thread.gmane.org/gmane.linux.ports.arm.kernel/218858
[2] http://thread.gmane.org/gmane.linux.ports.arm.kernel/208192

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-11 09:31:48 -07:00
..
ipu-v3 staging: ipu-di: Change DI address info to dev_dbg 2013-01-17 13:52:37 -08:00
Kconfig staging: drm/imx: add support for ARCH_MULTIPLATFORM 2012-10-30 11:10:05 -07:00
Makefile staging: drm/imx: Add i.MX IPUv3 crtc support 2012-09-21 09:17:06 -07:00
TODO staging: drm/imx: Add TODO 2012-09-21 09:17:07 -07:00
imx-drm-core.c staging: drm/imx: fix double free bug in error path 2013-01-07 12:27:52 -08:00
imx-drm.h staging: drm/imx: Add i.MX drm core support 2012-09-21 09:15:00 -07:00
imx-fb.c staging: drm/imx: Add i.MX drm core support 2012-09-21 09:15:00 -07:00
imx-fbdev.c staging: drm/imx: Add i.MX drm core support 2012-09-21 09:15:00 -07:00
ipuv3-crtc.c staging: imx/drm: request irq only after adding the crtc 2013-03-11 09:31:48 -07:00
parallel-display.c staging: imx-drm: remove use of __devexit 2012-11-21 15:05:02 -08:00