linux/drivers/video/omap2
Tomi Valkeinen ea29c4ea2b OMAPDSS: DSI: fix dsi_get_dsidev_from_id()
If dsi_get_dsidev_from_id() is called with a DSI module id that does not
exist on the board, the function will crash as omap_dss_get_output()
will return NULL.

This happens on omap3 boards when dumping DSI clocks, as the dumping
code will try to get the dsidev for DSI modules 0 and 1, but omap3 only
has DSI module 0.

Also clean up the id -> output mapping, so that if the function is
called with invalid module ID it will return NULL.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Archit Taneja <archit@ti.com>
2012-10-25 17:05:46 +03:00
..
displays fbdev updates for 3.7 2012-10-12 10:21:02 +09:00
dss OMAPDSS: DSI: fix dsi_get_dsidev_from_id() 2012-10-25 17:05:46 +03:00
omapfb fbdev updates for 3.7 2012-10-12 10:21:02 +09:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP2: avoid descending into disabled framebuffer dirs 2011-05-11 14:20:53 +03:00
vram.c OMAPDSS: VRAM: Remove clearing with sDMA 2012-09-07 20:02:09 +03:00
vrfb.c OMAPDSS: VRFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00