]> git.karo-electronics.de Git - linux-beck.git/commit
OMAP: DSS2: Check for SDI HW before accessing SDI registers
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 24 Feb 2011 12:18:50 +0000 (14:18 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:25 +0000 (15:46 +0200)
commit6ec549e50b192105ede7bb289a31da6f6e1a61e9
treed3d2e11e82251dcedf27375cab8f477e30551978
parentf8df01f1a47ea6e503f5ba8d782fc6fb53bb40e8
OMAP: DSS2: Check for SDI HW before accessing SDI registers

Only OMAP 3430 hardware has SDI support. The availability of SDI HW can
be found out by checking if the LCD channel supports SDI displays.

This patch checks for SDI HW support before accessing SDI registers,
which fixes a crash on OMAP4 when SDI SW support is compiled in.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c