OSDN Git Service

OMAPDSS: fix DISPC_MFLAG_THRESHOLD_OFFSET for WB
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 4 Nov 2015 15:10:41 +0000 (17:10 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 29 Dec 2015 09:06:24 +0000 (11:06 +0200)
DISPC_MFLAG_THRESHOLD_OFFSET() is missing the offset for WB. Add the
offset.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dispc.h

index 3043d6e..4837442 100644 (file)
@@ -908,6 +908,8 @@ static inline u16 DISPC_MFLAG_THRESHOLD_OFFSET(enum omap_plane plane)
                return 0x0868;
        case OMAP_DSS_VIDEO3:
                return 0x086c;
+       case OMAP_DSS_WB:
+               return 0x0870;
        default:
                BUG();
                return 0;