diff options
author | Archit Taneja <archit@ti.com> | 2012-08-13 22:23:29 +0530 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-16 18:09:41 +0530 |
commit | 6e883324b2ef9971ec208da2bf2f49268c36f2bb (patch) | |
tree | 8c9714be88beaa8bb8411eaf35f8098e65f8bcf6 /drivers/video/omap2/displays | |
parent | 0b3ffe397ab2cfae526568880ab4621ff8f113c9 (diff) | |
download | linux-6e883324b2ef9971ec208da2bf2f49268c36f2bb.tar.gz linux-6e883324b2ef9971ec208da2bf2f49268c36f2bb.tar.bz2 linux-6e883324b2ef9971ec208da2bf2f49268c36f2bb.zip |
OMAPDSS: RFBI: Maitain copy of rfbi timings in driver data
The RFBI driver currently relies on the omap_dss_device struct to receive the
rfbi specific timings requested by the panel driver. This makes the RFBI
interface driver dependent on the omap_dss_device struct.
Make the RFBI driver data maintain it's own rfbi specific timings field. The
panel driver is expected to call omapdss_rfbi_set_interface_timings() to
configure the rfbi timings before the interface is enabled.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays')
-rw-r--r-- | drivers/video/omap2/displays/panel-n8x0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/displays/panel-n8x0.c b/drivers/video/omap2/displays/panel-n8x0.c index 3ffd987ad8b2..17ae85e0033f 100644 --- a/drivers/video/omap2/displays/panel-n8x0.c +++ b/drivers/video/omap2/displays/panel-n8x0.c @@ -307,6 +307,7 @@ static int n8x0_panel_power_on(struct omap_dss_device *dssdev) dssdev->panel.timings.y_res); omapdss_rfbi_set_pixel_size(dssdev, dssdev->ctrl.pixel_size); omapdss_rfbi_set_data_lines(dssdev, dssdev->phy.rfbi.data_lines); + omapdss_rfbi_set_interface_timings(dssdev, &dssdev->ctrl.rfbi_timings); r = omapdss_rfbi_display_enable(dssdev); if (r) |