diff options
| author | Georg Veichtlbauer <georg@vware.at> | 2023-06-26 13:33:34 +0200 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2023-07-16 12:47:42 +0200 |
| commit | 620df03a7229bd2e13cdd32c3b56babc5b40b797 (patch) | |
| tree | c0bf8454c9d11262109fc215d91d5f1afb3a5c5c | |
| parent | 12af218146a6c1f3b2b3cec48b14076131f8ecdb (diff) | |
msm: mdss: Treat polling_en as the bool that it is
Change-Id: Ifaa68915b52a0d6b54a5f80576ae65ba527a6c16
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_intf_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_intf_video.c b/drivers/video/fbdev/msm/mdss_mdp_intf_video.c index 3761fa4af0eb..caa910db508c 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_intf_video.c +++ b/drivers/video/fbdev/msm/mdss_mdp_intf_video.c @@ -1236,7 +1236,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; |
