linux/drivers/media/platform/omap
Tomi Valkeinen 591a0ac7f1 OMAPDSS: Fix crash with DT boot
When booting with DT, there's a crash when omapfb is probed. This is
caused by the fact that omapdss+DT is not yet supported, and thus
omapdss is not probed at all. On the other hand, omapfb is always
probed. When omapfb tries to use omapdss, there's a NULL pointer
dereference crash. The same error should most likely happen with omapdrm
and omap_vout also.

To fix this, add an "initialized" state to omapdss. When omapdss has
been probed, it's marked as initialized. omapfb, omapdrm and omap_vout
check this state when they are probed to see that omapdss is actually
there.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
2013-05-23 12:54:21 +03:00
..
Kconfig [media] omap: Fix Kconfig dependencies on OMAP2 2012-12-27 14:48:26 -02:00
Makefile
omap_vout_vrfb.c ARM: OMAP: Move plat-omap/dma-omap.h to include/linux/omap-dma.h 2012-11-30 08:41:50 -08:00
omap_vout_vrfb.h
omap_vout.c OMAPDSS: Fix crash with DT boot 2013-05-23 12:54:21 +03:00
omap_voutdef.h OMAP: move arch/arm/plat-omap/include/plat/vrfb.h 2012-10-17 12:11:12 +03:00
omap_voutlib.c [media] omap_vout: use omapdss's version instead of cpu_is_* 2012-11-29 19:09:16 +02:00
omap_voutlib.h [media] omap_vout: use omapdss's version instead of cpu_is_* 2012-11-29 19:09:16 +02:00