]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04e1132a6c814bcf75f565dfe855f45505227e7a
treebd7f95efe75d2117411e33bd7353921483e5e969
parent3b7a76f2a6247d6e0bf8a50f54fd97e894724102
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