]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: only probe pdata if there's one
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 14 Mar 2013 13:47:29 +0000 (15:47 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:39 +0000 (14:00 +0300)
commit0e5f44eb83454efcc89ba9ff7758acf0cfdf303e
treeacf7cce67a9df7ec5bf959bc9af390afc510aa2d
parent0de9e1d06ecff6e7d9472e9ef48af49e6c331a37
OMAPDSS: only probe pdata if there's one

omapdss output drivers always read the platform data. This crashes when
there's no platform data when using DT.

Add a check to read the platform data only if it exists.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/rfbi.c
drivers/video/omap2/dss/sdi.c
drivers/video/omap2/dss/venc.c