DSS2: VRFB: Macro for calculating base address of the VRFB context was faulty
authorHardik Shah <hardik.shah@ti.com>
Mon, 13 Apr 2009 13:20:24 +0000 (18:50 +0530)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 1 May 2009 16:45:03 +0000 (19:45 +0300)
Signed-off-by: Hardik Shah <hardik.shah@ti.com>
arch/arm/plat-omap/vrfb.c

index 7e0f8fc..d68065f 100644 (file)
@@ -16,8 +16,8 @@
 
 #define SMS_ROT_VIRT_BASE(context, rot) \
        (((context >= 4) ? 0xD0000000 : 0x70000000) \
-        | 0x4000000 * (context) \
-        | 0x1000000 * (rot))
+        + (0x4000000 * (context)) \
+        + (0x1000000 * (rot)))
 
 #define OMAP_VRFB_SIZE                 (2048 * 2048 * 4)