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

Commit df1aab4b 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 de0c0e15 c084b840
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -680,8 +680,8 @@ 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);