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

Commit 33dde9e5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa4: prevent power collapse until uC is loaded"

parents f10e8390 41fc8344
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2455,8 +2455,14 @@ static int ipa3_wwan_probe(struct platform_device *pdev)
				ret);
		goto config_err;
	}

	/*
	 * for IPA 4.0 offline charge is not needed and we need to prevent
	 * power collapse until IPA uC is loaded.
	 */
	atomic_set(&rmnet_ipa3_ctx->is_initialized, 1);
	if (!atomic_read(&rmnet_ipa3_ctx->is_ssr)) {
	if (!atomic_read(&rmnet_ipa3_ctx->is_ssr) && ipa3_ctx->ipa_hw_type !=
		IPA_HW_v4_0) {
		/* offline charging mode */
		ipa3_proxy_clk_unvote();
	}