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

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

Merge "msm: ipa4: vote for IPA_PC note after uC is loaded"

parents 2a847bab e9539c41
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -493,6 +493,16 @@ static void ipa3_uc_response_hdlr(enum ipa_irq_type interrupt,
		 */
		 */
		ipa3_proxy_clk_unvote();
		ipa3_proxy_clk_unvote();


		/*
		 * To enable ipa power collapse we need to enable rpmh and uc
		 * handshake So that uc can do register retention. To enable
		 * this handshake we need to send the below message to rpmh.
		 * For APQ only target, we do it here once uC loading is
		 * completed.
		 */
		if (ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ)
			ipa_pc_qmp_enable();

		for (i = 0; i < IPA_HW_NUM_FEATURES; i++) {
		for (i = 0; i < IPA_HW_NUM_FEATURES; i++) {
			if (ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr)
			if (ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr)
				ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr();
				ipa3_uc_hdlrs[i].ipa_uc_loaded_hdlr();