Skip to content

Commit

Permalink
mdss_fb: use a modulo 2 offset
Browse files Browse the repository at this point in the history
Change-Id: Idd03eded90a0e6cfaa8998c51d2b6e99a4f16fd7
Signed-off-by: Jean-Baptiste Théou <jb@essential.com>
  • Loading branch information
jb-essential committed Sep 23, 2019
1 parent 17665f2 commit 506ef5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/msm/mdss_fb.c
Expand Up @@ -377,7 +377,7 @@ static int mdss_fb_get_panel_xres(struct mdss_panel_info *pinfo)
if (pinfo->split_link_enabled)
xres = xres * pinfo->mipi.num_of_sublinks;
#ifdef CONFIG_BOARD_MATA
return xres - 127;
return xres - 124;
#else
return xres;
#endif
Expand Down

0 comments on commit 506ef5e

Please sign in to comment.