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

Commit 8adb4033 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: vfe: Update proper write master index for RDI"

parents 73fcf2d0 4134b7dc
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -555,9 +555,9 @@ static int cam_vfe_bus_ver3_get_wm_idx(
		switch (plane) {
		case PLANE_Y:
			if (is_lite)
				wm_idx = 23;
			else
				wm_idx = 0;
			else
				wm_idx = 23;
			break;
		default:
			break;
@@ -567,9 +567,9 @@ static int cam_vfe_bus_ver3_get_wm_idx(
		switch (plane) {
		case PLANE_Y:
			if (is_lite)
				wm_idx = 24;
			else
				wm_idx = 1;
			else
				wm_idx = 24;
			break;
		default:
			break;
@@ -579,9 +579,9 @@ static int cam_vfe_bus_ver3_get_wm_idx(
		switch (plane) {
		case PLANE_Y:
			if (is_lite)
				wm_idx = 25;
			else
				wm_idx = 2;
			else
				wm_idx = 25;
			break;
		default:
			break;
@@ -2578,8 +2578,8 @@ static int cam_vfe_bus_ver3_update_wm(void *priv, void *cmd_args,

		if ((wm_data->stride != val ||
			!wm_data->init_cfg_done) &&
			((!bus_priv->common_data.is_lite && wm_data->index < 23)
			|| bus_priv->common_data.is_lite)) {
			(!bus_priv->common_data.is_lite &&
			wm_data->index < 23)) {
			CAM_VFE_ADD_REG_VAL_PAIR(reg_val_pair, j,
				wm_data->hw_regs->image_cfg_2,
				io_cfg->planes[i].plane_stride);