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

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

msm: ipa: Unvote pcie clock for USB disconnect



This change unvotes pcie clock for USB disconnect.

Change-Id: Idf2489229a1e39baf756de3ad439d6d8f9418f76
Acked-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent bc3c1be9
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1445,7 +1445,6 @@ static enum mhip_status_type ipa_mpm_start_stop_mhip_chan(
	ipa3_disable_data_path(ipa_ep_idx);
	ipa_mpm_change_gsi_state(probe_id, mhip_chan, GSI_ERR);
	ipa_assert();

	return MHIP_STATUS_FAIL;
}

@@ -1620,6 +1619,7 @@ static int ipa_mpm_start_stop_mhip_data_path(int probe_id,
	get_ipa3_client(probe_id, &ul_chan, &dl_chan);
	IPA_MPM_DBG("Start/Stop Data Path ? = %d\n", start);


	/* MHIP Start Data path:
	 * IPA MHIP Producer: remove HOLB
	 * IPA MHIP Consumer : no op as there is no delay on these pipes.
@@ -1725,10 +1725,6 @@ static int ipa_mpm_mhi_probe_cb(struct mhi_device *mhi_dev,
	ipa_mpm_vote_unvote_ipa_clk(CLK_ON);
	ipa_mpm_ctx->md[probe_id].in_lpm = false;
	mutex_unlock(&ipa_mpm_ctx->md[probe_id].lpm_mutex);

	/* NOTE :: Duplicate IPA vote - just for BU, remove later */
	ipa_mpm_vote_unvote_ipa_clk(CLK_ON);

	IPA_MPM_DBG("ul chan = %d, dl_chan = %d\n", ul_prod, dl_cons);

	/*