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

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

Merge "msm:ipa: stop the UL channels after probe"

parents d23c9f3a f2c6d21e
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -2187,8 +2187,12 @@ static int ipa_mpm_mhi_probe_cb(struct mhi_device *mhi_dev,
	case IPA_MPM_TETH_INIT:
		if (ul_prod != IPA_CLIENT_MAX) {
			/* No teth started yet, disable UL channel */
			ipa_mpm_start_stop_mhip_chan(IPA_MPM_MHIP_CHAN_UL,
						probe_id, MPM_MHIP_STOP);
			ret = ipa3_stop_gsi_channel(ipa_ep_idx);
			if (ret) {
				IPA_MPM_ERR("MHIP Stop channel err = %d\n",
					ret);
				goto fail_stop_channel;
			}
		}
		if (is_acted)
			ipa_mpm_vote_unvote_pcie_clk(CLK_OFF, probe_id,
@@ -2228,6 +2232,7 @@ static int ipa_mpm_mhi_probe_cb(struct mhi_device *mhi_dev,

fail_gsi_setup:
fail_start_channel:
fail_stop_channel:
fail_smmu:
	if (ipa_mpm_ctx->dev_info.ipa_smmu_enabled)
		IPA_MPM_DBG("SMMU failed\n");