Revert "drm/mediatek: fix a typo of OD_CFG to OD_RELAYMODE"
authorDave Airlie <airlied@redhat.com>
Fri, 18 Nov 2016 00:26:39 +0000 (10:26 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 18 Nov 2016 00:26:44 +0000 (10:26 +1000)
This reverts commit 83ba62bc700bab710b22be3a1bf6cf973f754273.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

index aa5f20fabd10f4f650411ac94d9e7b01a4ddf33a..df33b3ca6ffd5b2038e3e01d81ada28ffd33462e 100644 (file)
@@ -123,7 +123,7 @@ static void mtk_od_config(struct mtk_ddp_comp *comp, unsigned int w,
                          unsigned int bpc)
 {
        writel(w << 16 | h, comp->regs + DISP_OD_SIZE);
-       writel(OD_RELAYMODE, comp->regs + OD_CFG);
+       writel(OD_RELAYMODE, comp->regs + OD_RELAYMODE);
        mtk_dither_set(comp, bpc, DISP_OD_CFG);
 }