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
..
2012-10-10 20:15:24 +09:00
2012-10-12 10:21:02 +09:00
2012-04-08 14:27:08 +00:00
2012-10-12 10:21:02 +09:00
2012-10-12 10:21:02 +09:00
2012-10-12 10:21:02 +09:00
2011-10-03 15:52:38 +00:00
2012-04-08 14:27:09 +00:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-07-24 12:58:15 +02:00
2012-10-12 10:21:02 +09:00
2012-03-28 18:30:03 +01:00
2012-10-12 10:21:02 +09:00
2011-09-01 00:31:05 +00:00
2011-03-22 16:18:51 +09:00
2011-03-31 11:26:23 -03:00
2012-10-12 10:21:02 +09:00
2012-07-08 14:03:17 +00:00
2010-05-25 08:07:09 -07:00
2012-09-22 21:16:20 +00:00
2012-02-15 04:31:21 +00:00
2012-07-24 12:58:15 +02:00
2011-09-27 18:08:04 +02:00
2012-10-12 10:21:02 +09:00
2012-10-12 10:21:02 +09:00
2012-10-12 10:21:02 +09:00
2012-01-22 14:50:02 +01:00
2010-02-27 18:31:14 +01:00
2012-10-12 10:21:02 +09:00
2011-09-14 16:40:52 +00:00
2012-10-12 10:21:02 +09:00
2012-03-28 18:30:03 +01:00
2012-10-12 10:21:02 +09:00
2012-10-12 10:21:02 +09:00
2012-03-28 18:30:03 +01:00
2010-12-21 01:05:43 +09:00
2012-07-08 14:03:50 +00:00
2010-05-25 08:07:09 -07:00
2011-03-31 11:26:23 -03:00
2010-06-16 18:05:05 +02:00
2012-09-01 08:51:03 -07:00
2012-10-12 10:21:02 +09:00
2011-06-24 17:14:39 +09:00
2010-02-27 18:31:13 +01:00
2011-07-04 16:02:48 +09:00
2012-10-01 19:11:38 -07:00