OSDN Git Service

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)
commit02c3960b1eeafd5ed30323e1bb86bfa099b46921
treef9c33b9952e6dcef535767fe840031b36b4bd2bc
parent6ff9dd5a6fe624726f7004ddf995bb2b3409e1d5
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