diff options
| author | Dhaval Patel <pdhaval@codeaurora.org> | 2013-10-31 15:21:36 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:22:57 -0700 |
| commit | fec773bdda57fef9a500855a337c0e3c3ed32804 (patch) | |
| tree | bc42ce0cc32a406e5d3b4160250f9a9c476597a1 | |
| parent | 01003c6af2bfc561fede0d321c31c75c9e7559dd (diff) | |
msm: mdss: Fix dither matrix configuration
Configure entry 0 to entry 15 in dither matrix.
Change-Id: I1259c121e84078325e54d952cbd2671031df2978
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_pp.c b/drivers/video/fbdev/msm/mdss_mdp_pp.c index 73b97736a920..e7f209e64448 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pp.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pp.c @@ -1315,7 +1315,7 @@ static void pp_dither_config(char __iomem *addr, data |= dither_depth_map[dither_cfg->r_cr_depth] << 4; writel_relaxed(data, addr); addr += 0x14; - for (i = 0; i << 16; i += 4) { + for (i = 0; i < 16; i += 4) { data = dither_matrix[i] | (dither_matrix[i + 1] << 4) | (dither_matrix[i + 2] << 8) | |
