OMAPDSS: DPI: Maintain copy of number of data lines in driver data
authorArchit Taneja <archit@ti.com>
Fri, 6 Jul 2012 10:00:52 +0000 (15:30 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:30:55 +0000 (18:00 +0530)
The DPI driver currently relies on the omap_dss_device struct to configure the
number of data lines as specified by the panel. This makes the DPI interface
driver dependent on the omap_dss_device struct.

Make the DPI driver data maintain it's own data lines field. A panel driver
is expected to call omapdss_dpi_set_data_lines() before enabling the interface.

Signed-off-by: Archit Taneja <archit@ti.com>

No differences found