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

Commit 4cdfe24a authored by Saurabh Kothawade's avatar Saurabh Kothawade
Browse files

msm: vidc: Update correct freq for debug fs setting



Update correct freq variable when user requests
to use highest performance mode through debug fs.

Change-Id: Icf22c3afdd7e9c61bd7c71c8b781e8059e953529
Signed-off-by: default avatarSaurabh Kothawade <skothawa@codeaurora.org>
parent 11042c52
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -708,9 +708,9 @@ int msm_comm_scale_clocks(struct msm_vidc_inst *inst)

	if (inst->clk_data.buffer_counter < DCVS_FTB_WINDOW ||
		!msm_vidc_clock_scaling)
		inst->clk_data.curr_freq = msm_vidc_max_freq(inst->core);
		inst->clk_data.min_freq = msm_vidc_max_freq(inst->core);
	else
		inst->clk_data.curr_freq = freq;
		inst->clk_data.min_freq = freq;

	msm_vidc_set_clocks(inst->core);