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

Commit 3a6f600b authored by Michael Adisumarta's avatar Michael Adisumarta Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa4: forbidden warning fix



Moved mismatched parantheses that was causing a boolean comparison
error in set_perf_profile.

Change-Id: I69afb3129b69840c5a60f654fb45250a08c28ac7
CRs-Fixed: 2116912
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 5bc5bb65
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1164,8 +1164,8 @@ int ipa_pm_set_perf_profile(u32 hdl, int throughput)
	mutex_unlock(&ipa_pm_ctx->client_mutex);

	spin_lock_irqsave(&client->state_lock, flags);
	if (IPA_PM_STATE_ACTIVE(client->state || (client->group !=
			IPA_PM_GROUP_DEFAULT))) {
	if (IPA_PM_STATE_ACTIVE(client->state) || (client->group !=
			IPA_PM_GROUP_DEFAULT)) {
		spin_unlock_irqrestore(&client->state_lock, flags);
		do_clk_scaling();
		return 0;