]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: HACK: look for regulators with omap4 names
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 5 Nov 2012 11:41:25 +0000 (13:41 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 7 Nov 2012 08:34:09 +0000 (10:34 +0200)
commit3ed114190965e1305550c57f32a80cbe392c7f67
tree956c5f6832eb2840abd29a4f0d7913e3b0f7aae2
parentee49ad7b1a194cdc0fb13f5945a88a959a6588fd
OMAPDSS: HACK: look for regulators with omap4 names

Normally the omapdss driver gets the regulators using the regulator
names assigned for omapdss. However, in an effort to get a minimal DSS
support for DT enabled kernel on selected boards, we will add omapdss
devices and platform data the old way even for DT kernel. This causes
the problem that omapdss cannot find the regulators using omapdss's
regulator names.

This patch creates a temporary workaround for DSI and HDMI by trying to
get the regulators also using native OMAP4 regulator names.

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