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

Commit 59696a2f 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: Fix video cores clock rate value"

parents 4f641038 f0e549a9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -640,8 +640,8 @@ static int msm_vidc_set_clocks(struct msm_vidc_core *core)
		else if (temp->clk_data.core_id == VIDC_CORE_ID_2)
			freq_core_2 += temp->clk_data.min_freq;
		else if (temp->clk_data.core_id == VIDC_CORE_ID_3) {
			freq_core_1 += temp->clk_data.min_freq / 2;
			freq_core_2 += temp->clk_data.min_freq / 2;
			freq_core_1 += temp->clk_data.min_freq;
			freq_core_2 += temp->clk_data.min_freq;
		}

		freq_core_max = max_t(unsigned long, freq_core_1, freq_core_2);