OMAPDSS: SDI: Maintain our own timings field in driver data
authorArchit Taneja <archit@ti.com>
Wed, 8 Aug 2012 11:26:06 +0000 (16:56 +0530)
committerArchit Taneja <archit@ti.com>
Wed, 15 Aug 2012 10:18:45 +0000 (15:48 +0530)
commit9b4a5716ef54bbf2f57c75f790b12fc63a4be640
treefe864e4c6e6fbd2e32da6d4c305ad10cbde7d697
parentc7833f7bc049dfd844ce3042798cf48551b5f14d
OMAPDSS: SDI: Maintain our own timings field in driver data

The SDI driver currently relies on the timings in omap_dss_device struct to
configure the DISPC accordingly. This makes the SDI interface driver dependent
on the omap_dss_device struct.

Make the SDI driver data maintain it's own timings field. The panel driver is
expected to call omapdss_sdi_set_timings() to set these timings before the panel
is enabled.

Make the SDI panel driver configure the new timings is the omap_dss_device
struct(dssdev->panel.timings). The SDI driver is responsible for maintaining
only it's own copy of timings.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-acx565akm.c
drivers/video/omap2/dss/sdi.c