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

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

Merge "msm: ipa3: add offline charging support"

parents 0eaa8320 4043053f
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -4394,6 +4394,8 @@ static int ipa3_post_init(const struct ipa3_plat_drv_res *resource_p,
	/* Prevent consequent calls from trying to load the FW again. */
	if (ipa3_ctx->ipa_initialization_complete)
		return 0;
	/* move proxy vote for modem on ipa3_post_init */
	IPA_ACTIVE_CLIENTS_INC_SPECIAL("PROXY_CLK_VOTE");

	/*
	 * indication whether working in MHI config or non MHI config is given
@@ -4858,7 +4860,6 @@ static int ipa3_pre_init(const struct ipa3_plat_drv_res *resource_p,
	int result = 0;
	int i;
	struct ipa3_rt_tbl_set *rset;
	struct ipa_active_client_logging_info log_info;

	IPADBG("IPA Driver initialization started\n");

@@ -5049,8 +5050,7 @@ static int ipa3_pre_init(const struct ipa3_plat_drv_res *resource_p,
	}

	mutex_init(&ipa3_ctx->ipa3_active_clients.mutex);
	IPA_ACTIVE_CLIENTS_PREP_SPECIAL(log_info, "PROXY_CLK_VOTE");
	ipa3_active_clients_log_inc(&log_info, false);
	/* move proxy vote for modem to ipa3_post_init() */
	atomic_set(&ipa3_ctx->ipa3_active_clients.cnt, 1);

	/* Create workqueues for power management */
@@ -5296,6 +5296,8 @@ static int ipa3_pre_init(const struct ipa3_plat_drv_res *resource_p,
	IPADBG("ipa cdev added successful. major:%d minor:%d\n",
			MAJOR(ipa3_ctx->dev_num),
			MINOR(ipa3_ctx->dev_num));
	/* proxy vote for modem is added in ipa3_post_init() phase */
	IPA_ACTIVE_CLIENTS_DEC_SIMPLE();
	return 0;

fail_cdev_add: