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

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

Merge "msm ipa: disabel clock gating"

parents 593d5a19 1dee6edc
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2042,7 +2042,8 @@ static int ipa_init(const struct ipa_plat_drv_res *resource_p,
		goto fail_bind;
		goto fail_bind;
	}
	}


	ipa_ctx->enable_clock_scaling = 1;
	/* Disable ipa_ctx->enable_clock_scaling 1 */
	ipa_ctx->enable_clock_scaling = 0;
	ipa_ctx->curr_ipa_clk_rate = ipa_ctx->ctrl->ipa_clk_rate_hi;
	ipa_ctx->curr_ipa_clk_rate = ipa_ctx->ctrl->ipa_clk_rate_hi;


	/* enable IPA clocks explicitly to allow the initialization */
	/* enable IPA clocks explicitly to allow the initialization */
+2 −1
Original line number Original line Diff line number Diff line
@@ -1013,7 +1013,8 @@ int ipa_setup_sys_pipe(struct ipa_sys_connect_params *sys_in, u32 *clnt_hdl)
	ep->client = sys_in->client;
	ep->client = sys_in->client;
	ep->client_notify = sys_in->notify;
	ep->client_notify = sys_in->notify;
	ep->priv = sys_in->priv;
	ep->priv = sys_in->priv;
	ep->keep_ipa_awake = sys_in->keep_ipa_awake;
	/* keep sys_in->keep_ipa_awake */
	ep->keep_ipa_awake = 1;
	atomic_set(&ep->avail_fifo_desc,
	atomic_set(&ep->avail_fifo_desc,
		((sys_in->desc_fifo_sz/sizeof(struct sps_iovec))-1));
		((sys_in->desc_fifo_sz/sizeof(struct sps_iovec))-1));