Skip to content
This repository has been archived by the owner on Nov 7, 2021. It is now read-only.

Commit

Permalink
msm: mdss: Fix bool operation warning
Browse files Browse the repository at this point in the history
Fixes the following GCC 7.3.0 warning: increment of a boolean expression
[-Wbool-operation]

Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: Albert I <[email protected]>
  • Loading branch information
nathanchance authored and johnmart19 committed Feb 11, 2021
1 parent df8a9f1 commit 9c805de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/msm/mdss_mdp_intf_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ static int mdss_mdp_video_wait4comp(struct mdss_mdp_ctl *ctl, void *arg)
if (rc == 0) {
pr_warn("vsync wait timeout %d, fallback to poll mode\n",
ctl->num);
ctx->polling_en++;
ctx->polling_en = true;
rc = mdss_mdp_video_pollwait(ctl);
} else {
rc = 0;
Expand Down

0 comments on commit 9c805de

Please sign in to comment.