summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0030-DSS2-dispc_get_trans_key-was-returning-wrong-key-ty.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0030-DSS2-dispc_get_trans_key-was-returning-wrong-key-ty.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0030-DSS2-dispc_get_trans_key-was-returning-wrong-key-ty.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0030-DSS2-dispc_get_trans_key-was-returning-wrong-key-ty.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0030-DSS2-dispc_get_trans_key-was-returning-wrong-key-ty.patch
new file mode 100644
index 0000000000..7e2bb48938
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0030-DSS2-dispc_get_trans_key-was-returning-wrong-key-ty.patch
@@ -0,0 +1,29 @@
1From bda19b9359d9dc60f8b0beb5685e173e236ee30f Mon Sep 17 00:00:00 2001
2From: Hardik Shah <hardik.shah@ti.com>
3Date: Wed, 15 Apr 2009 17:05:18 +0530
4Subject: [PATCH] DSS2: dispc_get_trans_key was returning wrong key type
5
6Signed-off-by: Hardik Shah <hardik.shah@ti.com>
7---
8 drivers/video/omap2/dss/dispc.c | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
12index 23a8155..076d3d4 100644
13--- a/drivers/video/omap2/dss/dispc.c
14+++ b/drivers/video/omap2/dss/dispc.c
15@@ -1826,9 +1826,9 @@ void dispc_get_trans_key(enum omap_channel ch,
16 enable_clocks(1);
17 if (type) {
18 if (ch == OMAP_DSS_CHANNEL_LCD)
19- *type = REG_GET(DISPC_CONFIG, 11, 11) >> 11;
20+ *type = REG_GET(DISPC_CONFIG, 11, 11);
21 else if (ch == OMAP_DSS_CHANNEL_DIGIT)
22- *type = REG_GET(DISPC_CONFIG, 13, 13) >> 13;
23+ *type = REG_GET(DISPC_CONFIG, 13, 13);
24 else
25 BUG();
26 }
27--
281.5.6.5
29