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

Commit 8c5fb457 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: fix potential deadlock with ulps work thread"

parents add45971 a31ee86c
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -391,14 +391,6 @@ static void __mdss_mdp_cmd_ulps_work(struct work_struct *work)
		return;
	}

	mutex_lock(&ctx->clk_mtx);
	if (ctx->clk_enabled) {
		mutex_unlock(&ctx->clk_mtx);
		pr_warn("Cannot enter ulps mode if DSI clocks are on\n");
		return;
	}
	mutex_unlock(&ctx->clk_mtx);

	if (!ctx->panel_on) {
		pr_err("Panel is off. skipping ULPS configuration\n");
		return;