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

Make the SDI driver data maintain it's own data lines field. A panel driver
is expected to call omapdss_sdi_set_datapairs() before enabling the interface.
Even though we configure the number of data pairs here, this function would be
finally mapped to a generic interface op called set_data_lines. The datapairs
argument type has been changed from u8 to int at some places to be in sync with
the 'set_data_lines' ops of other interfaces.

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

No differences found