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

Commit 8d8f7ae2 authored by Sandeep Panda's avatar Sandeep Panda
Browse files

msm: mdss: set interface stopped flag properly during suspend



In current implementation while disabling interface, the
interface stopped flag is not keeping the correct value. This
is causing issues when later if we use this flag during command
autorefresh feature disable. So update the flag properly after
wiping out display context structure to store correct value.

Change-Id: Id2cc64e3f10711b92f8b8f4f36f73f716c9ac831
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent e12c33f7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2868,6 +2868,8 @@ int mdss_mdp_cmd_ctx_stop(struct mdss_mdp_ctl *ctl,
		ctx->default_pp_num, NULL, NULL);

	memset(ctx, 0, sizeof(*ctx));
	/* intf stopped,  no more kickoff */
	ctx->intf_stopped = 1;

	return 0;
}