diff options
author | Archit Taneja <archit@ti.com> | 2012-04-26 10:40:46 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-09 06:44:06 -0400 |
commit | 4172116385ede7abcfbbcc6eb6b7133385695001 (patch) | |
tree | 5b1102aea3d951a057d4a8420761b78dd0fd8758 /drivers/video/omap2/dss/dpi.c | |
parent | 45324a2648bcfa96adeae71ae992da931eed79f6 (diff) |
OMAPDSS: Apply manager timings instead of direct DISPC writes
Replace the function dispc_mgr_set_timings() with dss_mgr_set_timings() in the
interface drivers. The latter function ensures that the timing related DISPC
registers are configured according to the shadow register programming model.
Remove the call to dispc_mgr_go() in dpi_set_timings() as the manager's go bit
is set by dss_mgr_set_timings().
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dpi.c')
-rw-r--r-- | drivers/video/omap2/dss/dpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index cec116684365..e65cf1f9a694 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c | |||
@@ -156,7 +156,7 @@ static int dpi_set_mode(struct omap_dss_device *dssdev) | |||
156 | t->pixel_clock = pck; | 156 | t->pixel_clock = pck; |
157 | } | 157 | } |
158 | 158 | ||
159 | dispc_mgr_set_timings(dssdev->manager->id, t); | 159 | dss_mgr_set_timings(dssdev->manager, t); |
160 | 160 | ||
161 | return 0; | 161 | return 0; |
162 | } | 162 | } |
@@ -294,7 +294,6 @@ void dpi_set_timings(struct omap_dss_device *dssdev, | |||
294 | } | 294 | } |
295 | 295 | ||
296 | dpi_set_mode(dssdev); | 296 | dpi_set_mode(dssdev); |
297 | dispc_mgr_go(dssdev->manager->id); | ||
298 | 297 | ||
299 | dispc_runtime_put(); | 298 | dispc_runtime_put(); |
300 | dss_runtime_put(); | 299 | dss_runtime_put(); |