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

Commit a7af633d authored by Ghanim Fodi's avatar Ghanim Fodi
Browse files

Revert "msm: ipa3: Fix PM client state check during deactivation"



This reverts commit 1ca92f3d.

Change-Id: Ie6f0e5656fda7b5c26dbbf080c1f699b81f960b7
Signed-off-by: default avatarGhanim Fodi <gfodi@codeaurora.org>
parent 1f7554fb
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1029,10 +1029,9 @@ int ipa_pm_deactivate_all_deferred(void)
			IPA_PM_DBG_STATE(client->hdl, client->name,
				client->state);
			spin_unlock_irqrestore(&client->state_lock, flags);
		} else if ((client->state ==
			IPA_PM_ACTIVATED_PENDING_DEACTIVATION) ||
			(client->state ==
			IPA_PM_ACTIVATED_PENDING_RESCHEDULE)) {
		} else if (client->state ==
			IPA_PM_ACTIVATED_PENDING_DEACTIVATION ||
			IPA_PM_ACTIVATED_PENDING_RESCHEDULE) {
			run_algorithm = true;
			client->state = IPA_PM_DEACTIVATED;
			IPA_PM_DBG_STATE(client->hdl, client->name,