From 620df03a7229bd2e13cdd32c3b56babc5b40b797 Mon Sep 17 00:00:00 2001 From: Georg Veichtlbauer Date: Mon, 26 Jun 2023 13:33:34 +0200 Subject: msm: mdss: Treat polling_en as the bool that it is Change-Id: Ifaa68915b52a0d6b54a5f80576ae65ba527a6c16 --- drivers/video/fbdev/msm/mdss_mdp_intf_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/video') 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; -- cgit v1.2.3