aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-11-18 10:26:39 +1000
committerDave Airlie <airlied@redhat.com>2016-11-18 10:26:44 +1000
commite9f01049d1ea4679a3258b8423fe54bae424ee0e (patch)
tree3d140b75cc92caf04aa5e439a2400eb16782b528
parentMerge branch 'for-linus' of git://git.kernel.dk/linux-block (diff)
downloadlinux-dev-e9f01049d1ea4679a3258b8423fe54bae424ee0e.tar.xz
linux-dev-e9f01049d1ea4679a3258b8423fe54bae424ee0e.zip
Revert "drm/mediatek: fix a typo of OD_CFG to OD_RELAYMODE"
This reverts commit 83ba62bc700bab710b22be3a1bf6cf973f754273. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
index aa5f20fabd10..df33b3ca6ffd 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
@@ -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);
}