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

Commit e895f819 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: enable clock gating"

parents d7ed6c7f f63cb49d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2118,8 +2118,8 @@ static int ipa_init(const struct ipa_plat_drv_res *resource_p,
		goto fail_bind;
	}

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

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