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

Commit a8823950 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: ope: remove the check for dev_type" into camera-kernel.lnx.3.1

parents 8f426ed3 7493e80f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1087,8 +1087,7 @@ static int cam_ope_calc_total_clk(struct cam_ope_hw_mgr *hw_mgr,
	hw_mgr_clk_info->base_clk = 0;
	for (i = 0; i < OPE_CTX_MAX; i++) {
		ctx_data = &hw_mgr->ctx[i];
		if (ctx_data->ctx_state == OPE_CTX_STATE_ACQUIRED &&
			ctx_data->ope_acquire.dev_type == dev_type)
		if (ctx_data->ctx_state == OPE_CTX_STATE_ACQUIRED)
			hw_mgr_clk_info->base_clk +=
				ctx_data->clk_info.base_clk;
	}