drm/mediatek: fix connection from RDMA2 to DSI1
authorStu Hsieh <stu.hsieh@mediatek.com>
Thu, 9 Aug 2018 02:15:49 +0000 (10:15 +0800)
committerCK Hu <ck.hu@mediatek.com>
Mon, 27 Aug 2018 03:24:37 +0000 (11:24 +0800)
This patch fix connection from RDMA2 to DSI1

Signed-off-by: Stu Hsieh <stu.hsieh@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_drm_ddp.c

index 3239f22785fdf0bc7c9b4e9f7361bdc2d94f2922..546b3e3b300ba8c6b8a4dc67bfe8c400d5b48de9 100644 (file)
@@ -314,7 +314,7 @@ static unsigned int mtk_ddp_sel_in(enum mtk_ddp_comp_id cur,
                *addr = DISP_REG_CONFIG_DSIE_SEL_IN;
                value = DSI0_SEL_IN_RDMA2;
        } else if (cur == DDP_COMPONENT_RDMA2 && next == DDP_COMPONENT_DSI1) {
-               *addr = DISP_REG_CONFIG_DSIE_SEL_IN;
+               *addr = DISP_REG_CONFIG_DSIO_SEL_IN;
                value = DSI1_SEL_IN_RDMA2;
        } else if (cur == DDP_COMPONENT_RDMA2 && next == DDP_COMPONENT_DSI2) {
                *addr = DISP_REG_CONFIG_DSIE_SEL_IN;