]> 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)
commit28bbfb59db6e2472b4ab4d0c6845d0b8b2291f4e
tree5e1e6c748495c910e368e080aa8479ebd70cd14b
parentc44dbb74e2490b571522384777f4f59487ec9a1e
OMAPDSS: SDI: fix output port_num

After the commit 84cf70c752dc (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