From 662517b14282183977d3cf5d99b4f14e61d86e71 Mon Sep 17 00:00:00 2001 From: Prabhanjan Kandula Date: Thu, 15 Apr 2021 12:14:10 -0700 Subject: [PATCH] disp: msm: sde: fix intf mux configuration While programming intf block Mux configuration with binding ping pong, avoid clearing split select field as clearing this field would enable split by default. Change-Id: Iad2fa81969bc59abba4467f29661e62c63ba19c0 Signed-off-by: Prabhanjan Kandula --- msm/sde/sde_hw_intf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/msm/sde/sde_hw_intf.c b/msm/sde/sde_hw_intf.c index 577f12905f..16a1f3073d 100644 --- a/msm/sde/sde_hw_intf.c +++ b/msm/sde/sde_hw_intf.c @@ -478,10 +478,9 @@ static void sde_hw_intf_bind_pingpong_blk( c = &intf->hw; - mux_cfg = SDE_REG_READ(c, INTF_MUX); - mux_cfg &= ~0xf000f; - if (enable) { + mux_cfg = SDE_REG_READ(c, INTF_MUX); + mux_cfg &= ~0x0f; mux_cfg |= (pp - PINGPONG_0) & 0x7; /* Splitlink case, pp0->sublink0, pp1->sublink1 */ if (intf->cfg.split_link_en)