diff options
| author | Michael Bestas <mkbestas@lineageos.org> | 2020-06-03 21:21:48 +0300 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-06-03 21:22:23 +0300 |
| commit | 00d0dd3ed900af6ed0197754cda42b8a9c80655b (patch) | |
| tree | a8127bf6b6abee1a0e7daaa739857d433c76d7e3 | |
| parent | d544bd67ddb903305bc5b3f297f6218e2d42f013 (diff) | |
Revert "msm: mdss: Remove unnecessary parentheses in is_valid_calib_dspp_addr"
* We'll take the upstream fix
This reverts commit 376e1111ab102886ba674e14562176ea72fcbd0a.
Change-Id: Icea1ffeee5549134a0f04277dfdc8bc2d73ba6f1
| -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 c497682ef2d0..2b93dcdeb6e0 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pp.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pp.c @@ -6969,7 +6969,7 @@ static int is_valid_calib_dspp_addr(char __iomem *ptr) ret = MDP_PP_OPS_READ | MDP_PP_OPS_WRITE; break; /* Dither enable/disable */ - } else if (ptr == base + MDSS_MDP_REG_DSPP_DITHER_DEPTH) { + } else if ((ptr == base + MDSS_MDP_REG_DSPP_DITHER_DEPTH)) { ret = MDP_PP_OPS_READ | MDP_PP_OPS_WRITE; break; /* Six zone and mem color */ |
