]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: SDI: fix output port_num
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Dec 2014 07:57:11 +0000 (09:57 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 30 Dec 2014 09:18:30 +0000 (11:18 +0200)
commitcb9bd7df2c56c020fd9e71a8db51e386d16a7363
tree5e1e6c748495c910e368e080aa8479ebd70cd14b
parenta22f365dbbe95cecd36f4fb3231f0c8ae936c7cf
OMAPDSS: SDI: fix output port_num

After the commit 66ae67e072f9 (OMAPDSS: DT: Get source endpoint by
matching reg-id) we look for the SDI output using the port number.
However, the SDI driver doesn't set the port number, which causes the
SDI display to not initialize.

Fix this by setting the SDI port number to 1. We use a hardcoded value,
as SDI was used only on OMAP3 and it's always port number 1 there.

Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reported-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/sdi.c