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

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

Merge "msm: IPA: warn for MHI Prime clock vote/unvote mismatch"

parents 59dcf51b d8b8dab4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1343,7 +1343,8 @@ static int ipa_mpm_vote_unvote_pcie_clk(enum ipa_mpm_clk_vote_type vote,
								== 0)) {
			IPA_MPM_DBG("probe_id %d PCIE clock already devoted\n",
				probe_id);
			ipa_assert();
			WARN_ON(1);
			return 0;
		}
		mhi_device_put(ipa_mpm_ctx->md[probe_id].mhi_dev);
		IPA_MPM_DBG("probe_id %d PCIE clock off\n", probe_id);
@@ -1378,7 +1379,8 @@ static void ipa_mpm_vote_unvote_ipa_clk(enum ipa_mpm_clk_vote_type vote,
								== 0)) {
			IPA_MPM_DBG("probe_id %d IPA clock count < 0\n",
				probe_id);
			ipa_assert();
			WARN_ON(1);
			return;
		}
		IPA_ACTIVE_CLIENTS_DEC_SPECIAL(ipa_mpm_mhip_chan_str[probe_id]);
		IPA_MPM_DBG("probe_id %d IPA clock off\n", probe_id);