]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DSI: Maintain copy of pixel format in driver data
authorArchit Taneja <archit@ti.com>
Fri, 10 Aug 2012 09:31:33 +0000 (15:01 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:30:47 +0000 (18:00 +0530)
commit73948cc338df4f615c331b9aad60bb7496f5b830
treef9c33b9952e6dcef535767fe840031b36b4bd2bc
parent71f20bb7b4dead6a27f7fc75fece6c0220374bdf
OMAPDSS: DSI: Maintain copy of pixel format in driver data

The DSI driver currently relies on the omap_dss_device struct to receive the
desired pixel format of the panel. This makes the DSI interface driver dependent
on the omap_dss_device struct.

Make the DSI driver data maintain it's own pixel format field. The panel driver
is expected to call omapdss_dsi_set_pixel_format() to configure the pixel format
before the interface is enabled.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-taal.c
drivers/video/omap2/dss/dsi.c
include/video/omapdss.h