linux/drivers/video/omap2/dss
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
..
apply.c OMAPDSS: DIPSC: Relax scaling limitations when in memory to memory mode 2012-09-26 14:58:49 +03:00
core.c OMAPDSS: alloc dssdevs dynamically 2012-09-18 16:15:05 +03:00
dispc_coefs.c OMAPDSS: DISPC: Fix FIR coefficients 2012-03-06 14:08:23 +02:00
dispc.c fbdev updates for 3.7 2012-10-12 10:21:02 +09:00
dispc.h OMAPDSS: DISPC: Add writeback register offsets and dss features structs 2012-09-26 14:58:50 +03:00
display.c OMAPDSS: Create links between managers, outputs and devices 2012-09-26 14:58:33 +03:00
dpi.c OMAPDSS: add missing include for string.h 2012-09-28 10:03:03 +03:00
dsi.c OMAPDSS: DSI: fix dsi_get_dsidev_from_id() 2012-10-25 17:05:46 +03:00
dss_features.c OMAPDSS: DISPC: Add writeback register offsets and dss features structs 2012-09-26 14:58:50 +03:00
dss_features.h OMAPDSS: DISPC: Add writeback register offsets and dss features structs 2012-09-26 14:58:50 +03:00
dss.c OMAPDSS: Add support for DPI source selection 2012-09-24 16:50:08 +03:00
dss.h OMAPDSS: DISPC: Add manager like functions for writeback 2012-09-26 14:58:51 +03:00
hdmi_panel.c OMAPDSS: HDMI: fix initial HDMI enable 2012-08-22 11:33:32 +03:00
hdmi.c OMAPDSS: HDMI: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:36 +03:00
Kconfig OMAPDSS: DSI: make OMAP2_DSS_DSI depend on ARCH_OMAP5 2012-09-24 16:50:10 +03:00
Makefile OMAPDSS: outputs: Create a new entity called outputs 2012-09-26 16:29:10 +05:30
manager-sysfs.c OMAPDSS: MANAGER: Update display sysfs store 2012-09-26 14:58:37 +03:00
manager.c OMAPDSS: Remove old way of setting manager and device links 2012-09-26 14:58:38 +03:00
output.c OMAPDSS: Create links between managers, outputs and devices 2012-09-26 14:58:33 +03:00
overlay-sysfs.c OMAPDSS: split overlay sysfs code 2012-09-07 20:02:10 +03:00
overlay.c OMAPDSS: OVERLAY/MANAGER: Get device via output 2012-09-26 14:58:37 +03:00
rfbi.c OMAPDSS: RFBI: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:35 +03:00
sdi.c OMAPDSS: add missing include for string.h 2012-09-28 10:03:03 +03:00
ti_hdmi_4xxx_ip.c OMAPDSS: HDMI: Remove custom hdmi_video_timings struct 2012-06-29 10:15:53 +03:00
ti_hdmi_4xxx_ip.h OMAPDSS: HDMI: Add an audio configuration function 2012-05-11 15:17:08 +03:00
ti_hdmi.h OMAPDSS: HDMI: Remove custom hdmi_video_timings struct 2012-06-29 10:15:53 +03:00
venc_panel.c OMAPDSS: VENC: Maintian copy of video output polarity info in private data 2012-08-16 18:47:52 +05:30
venc.c OMAPDSS: VENC: Replace dssdev->manager with dssdev->output->manager references 2012-09-26 14:58:36 +03:00