diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0046-DSS2-DSI-decrease-sync-timeout-from-60s-to-2s.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0046-DSS2-DSI-decrease-sync-timeout-from-60s-to-2s.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0046-DSS2-DSI-decrease-sync-timeout-from-60s-to-2s.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0046-DSS2-DSI-decrease-sync-timeout-from-60s-to-2s.patch new file mode 100644 index 0000000000..4ae5fbdd9a --- /dev/null +++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0046-DSS2-DSI-decrease-sync-timeout-from-60s-to-2s.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 0f88992b2681aed4f31dc7dd3926b357bbc95154 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tomi Valkeinen <tomi.valkeinen@nokia.com> | ||
3 | Date: Tue, 21 Apr 2009 10:11:55 +0300 | ||
4 | Subject: [PATCH] DSS2: DSI: decrease sync timeout from 60s to 2s | ||
5 | |||
6 | The framedone-problem should be ok now, so we shouldn't get long waits. | ||
7 | --- | ||
8 | drivers/video/omap2/dss/dsi.c | 2 +- | ||
9 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c | ||
12 | index 50af925..d59ad38 100644 | ||
13 | --- a/drivers/video/omap2/dss/dsi.c | ||
14 | +++ b/drivers/video/omap2/dss/dsi.c | ||
15 | @@ -3216,7 +3216,7 @@ static void dsi_push_set_mirror(struct omap_display *display, int mirror) | ||
16 | |||
17 | static int dsi_wait_sync(struct omap_display *display) | ||
18 | { | ||
19 | - long wait = msecs_to_jiffies(60000); | ||
20 | + long wait = msecs_to_jiffies(2000); | ||
21 | struct completion compl; | ||
22 | |||
23 | DSSDBGF(""); | ||
24 | -- | ||
25 | 1.5.6.5 | ||
26 | |||