Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13509b65 authored by Shivaraj Shetty's avatar Shivaraj Shetty
Browse files

msm: mdss: update error check for dynamic fps with pp split



Currently dynamic fps configuration is checking for the
status of timing generator enable for slave controller in
the case of pingpong split. But this check will always
fail as timing generator wont be enabled for slave controller.
Remove this check to make sure dynamic fps feature works fine.

Change-Id: I097938f2b7b09a31df216c9e4879f12ed783794b
Signed-off-by: default avatarShivaraj Shetty <shivaraj@codeaurora.org>
parent 0dc787c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -902,7 +902,7 @@ static int mdss_mdp_video_config_fps(struct mdss_mdp_ctl *ctl,
		}
	} else if (is_pingpong_split(ctl->mfd)) {
		sctx = (struct mdss_mdp_video_ctx *) ctl->intf_ctx[SLAVE_CTX];
		if (!sctx || !sctx->timegen_en || !sctx->ref_cnt) {
		if (!sctx || !sctx->ref_cnt) {
			pr_err("invalid sctx or interface is powered off\n");
			return -EINVAL;
		}