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

Commit 1dee6edc authored by Skylar Chang's avatar Skylar Chang
Browse files

msm ipa: disabel clock gating



currently disable clock gating feature until it verified

Change-Id: I1336a529449c2e133d17c229a7e653eb1d39beff
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 29fdcf36
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2042,7 +2042,8 @@ static int ipa_init(const struct ipa_plat_drv_res *resource_p,
		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;

	/* enable IPA clocks explicitly to allow the initialization */
+2 −1
Original line number 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_notify = sys_in->notify;
	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,
		((sys_in->desc_fifo_sz/sizeof(struct sps_iovec))-1));