]> code.ossystems Code Review - openembedded-core.git/blob
7e2bb48938b57e4c50a948b3884e10ae28ed885b
[openembedded-core.git] /
1 From bda19b9359d9dc60f8b0beb5685e173e236ee30f Mon Sep 17 00:00:00 2001
2 From: Hardik Shah <hardik.shah@ti.com>
3 Date: Wed, 15 Apr 2009 17:05:18 +0530
4 Subject: [PATCH] DSS2: dispc_get_trans_key was returning wrong key type
5
6 Signed-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
11 diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
12 index 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 -- 
28 1.5.6.5
29