]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: fix use of dssdev->caps
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 23 Aug 2012 13:06:43 +0000 (16:06 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Sep 2012 17:02:06 +0000 (20:02 +0300)
commit257b3fe8e6d0488690f6e627d35f2d20a4595826
treee210c6c021e546821259ba8e41078c2d76abf492
parentf3b8c30cc894e2cc4d9c84028c7006f5b380c42b
OMAPDSS: fix use of dssdev->caps

Recent commit b9eff6f4d82369ca830542423bcbec78db63e0e7 (OMAPDSS: DSI:
Maintain copy of operation mode in driver data) broke DSI for video mode
displays. The commit changed the way dssdev->caps are initialized, and
the result was that every DSI display is initialized with manual-update
and tear-elim caps.

The code that sets dssdev->caps is not very good, even when fixed.
omapdss driver shouldn't be writing dssdev->caps at all.

This patch fixes the problem with video mode displays by moving the
initialization of dssdev->caps to the panel driver. The same change is
done for RFBI.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/displays/panel-n8x0.c
drivers/video/omap2/displays/panel-taal.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/rfbi.c