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:00 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:30:55 +0000 (17:30 +0530)
commitc6b393d4bc8bc076589bf03433728c1fc2a44d4c
treebd7f95efe75d2117411e33bd7353921483e5e969
parent475989b763668f0794d6a8ee34a1ca0e784831e2
OMAPDSS: DPI: Maintain copy of number of data lines in driver data

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>
drivers/video/omap2/displays/panel-generic-dpi.c
drivers/video/omap2/displays/panel-lgphilips-lb035q02.c
drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c
drivers/video/omap2/displays/panel-picodlp.c
drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c
drivers/video/omap2/displays/panel-tfp410.c
drivers/video/omap2/displays/panel-tpo-td043mtea1.c
drivers/video/omap2/dss/dpi.c
include/video/omapdss.h