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

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

Merge "msm: vidc: Update validation for operating rate"

parents af7ece9c 05179abb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -652,7 +652,9 @@ int msm_vidc_validate_operating_rate(struct msm_vidc_inst *inst,

	operating_rate = operating_rate >> 16;

	if ((curr_operating_rate + ops_left) >= operating_rate) {
	if ((curr_operating_rate + ops_left) >= operating_rate ||
			!msm_vidc_clock_scaling ||
			inst->clk_data.buffer_counter < DCVS_FTB_WINDOW) {
		dprintk(VIDC_DBG,
			"Requestd operating rate is valid %u\n",
			operating_rate);