summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/msm/mdss_dsi_panel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dsi_panel.c b/drivers/video/fbdev/msm/mdss_dsi_panel.c
index c473022580ed..a7f9a2cf38de 100644
--- a/drivers/video/fbdev/msm/mdss_dsi_panel.c
+++ b/drivers/video/fbdev/msm/mdss_dsi_panel.c
@@ -1539,7 +1539,8 @@ static int mdss_dsi_parse_topology_config(struct device_node *np,
pinfo->use_pingpong_split ? "yes" : "no");
}
- if ((timing->lm_widths[0] == 0) && (timing->lm_widths[1] == 0))
+ if (!pinfo->use_pingpong_split &&
+ (timing->lm_widths[0] == 0) && (timing->lm_widths[1] == 0))
timing->lm_widths[0] = pt->timing.xres;
data = of_get_property(np, "qcom,compression-mode", NULL);