]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit145e84adb3f9fc6f233e0dd6a7a531e6aee7b031
treefe864e4c6e6fbd2e32da6d4c305ad10cbde7d697
parent2d0a803f19b5db8a8a56779fe0db69533a3daf86
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