summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-omap-pm/dss2/0045-DSS2-DSI-decrease-sync-timeout-from-60s-to-2s.patch
blob: 298095d214f5bd995fc6e227ab21ae244c66c169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 23ee17c38e6762ff59dda729ffae8d9bf483f9c5 Mon Sep 17 00:00:00 2001
From: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Date: Tue, 21 Apr 2009 10:11:55 +0300
Subject: [PATCH 045/146] DSS2: DSI: decrease sync timeout from 60s to 2s

The framedone-problem should be ok now, so we shouldn't get long waits.
---
 drivers/video/omap2/dss/dsi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 50af925..d59ad38 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -3216,7 +3216,7 @@ static void dsi_push_set_mirror(struct omap_display *display, int mirror)
 
 static int dsi_wait_sync(struct omap_display *display)
 {
-	long wait = msecs_to_jiffies(60000);
+	long wait = msecs_to_jiffies(2000);
 	struct completion compl;
 
 	DSSDBGF("");
-- 
1.6.2.4