diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-15 09:48:11 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-25 14:05:46 (GMT) |
commit | ea29c4ea2b04462e92f409cd852dfe0d6d04f0fc (patch) | |
tree | 921926739d81053f78ffb4c1ac37db6b4cd574bc /Documentation/rtc.txt | |
parent | ddffeb8c4d0331609ef2581d84de4d763607bd37 (diff) | |
download | linux-fsl-qoriq-ea29c4ea2b04462e92f409cd852dfe0d6d04f0fc.tar.xz |
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>
Diffstat (limited to 'Documentation/rtc.txt')
0 files changed, 0 insertions, 0 deletions