[media] omap_vout: fix crash if no driver for a display
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Nov 2011 07:28:59 +0000 (04:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 7 Dec 2011 13:12:40 +0000 (11:12 -0200)
commit71c7a97289571ef5246b7f20d60b44961144c82f
tree94f65d9b575740d62b0c0b7da8a087e4c2ee0b2e
parentfc8ac777ae39409e81f7dd2d123d980c0dfb528e
[media] omap_vout: fix crash if no driver for a display

omap_vout crashes on start if a corresponding driver is not loaded for a
display device.

This patch changes omap_vout init sequence to skip devices without a
driver.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap/omap_vout.c