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)
commita32442d4f8b712b701ea577c841d6a0a7c5993c1
tree5e1e6c748495c910e368e080aa8479ebd70cd14b
parent30ea9c5218651bc11cbdba7820be78f04e2d83bc
OMAPDSS: SDI: fix output port_num

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