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

Commit 43cafa80 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: skip rsc client vote for clk state update only"

parents 8ec396fb e13e1ea7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1082,8 +1082,7 @@ int sde_rsc_client_trigger_vote(struct sde_rsc_client *caller_client,
	mutex_lock(&rsc->client_lock);

	if (!delta_vote && !rsc->update_tcs_content &&
			((rsc->current_state == SDE_RSC_CMD_STATE) ||
			(rsc->current_state == SDE_RSC_VID_STATE)))
			(rsc->current_state == SDE_RSC_CLK_STATE))
		goto end;

	for (i = 0; i < SDE_POWER_HANDLE_DBUS_ID_MAX && delta_vote; i++) {