diff options
author | Archit Taneja <archit@ti.com> | 2012-07-06 06:00:52 -0400 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-16 08:30:55 -0400 |
commit | c6b393d4bc8bc076589bf03433728c1fc2a44d4c (patch) | |
tree | bd7f95efe75d2117411e33bd7353921483e5e969 /drivers/video/omap2/displays/panel-lgphilips-lb035q02.c | |
parent | 475989b763668f0794d6a8ee34a1ca0e784831e2 (diff) |
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>
Diffstat (limited to 'drivers/video/omap2/displays/panel-lgphilips-lb035q02.c')
-rw-r--r-- | drivers/video/omap2/displays/panel-lgphilips-lb035q02.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c index 7e52aee36f4f..90c1cabf244e 100644 --- a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c +++ b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c | |||
@@ -56,6 +56,7 @@ static int lb035q02_panel_power_on(struct omap_dss_device *dssdev) | |||
56 | return 0; | 56 | return 0; |
57 | 57 | ||
58 | omapdss_dpi_set_timings(dssdev, &dssdev->panel.timings); | 58 | omapdss_dpi_set_timings(dssdev, &dssdev->panel.timings); |
59 | omapdss_dpi_set_data_lines(dssdev, dssdev->phy.dpi.data_lines); | ||
59 | 60 | ||
60 | r = omapdss_dpi_display_enable(dssdev); | 61 | r = omapdss_dpi_display_enable(dssdev); |
61 | if (r) | 62 | if (r) |