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

Commit a018ba6c authored by Haritha Chintalapati's avatar Haritha Chintalapati Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: ife: Assign half the height value for cbcr plane" into camera-kernel.lnx.4.0

parents 0f65d30e a1620275
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3524,9 +3524,13 @@ static int cam_vfe_bus_ver3_update_wm_config(
		}

		wm_data->en_cfg = (wm_config->wm_mode << 16) | 0x1;
		wm_data->height = wm_config->height;
		wm_data->width  = wm_config->width;

		if (i == PLANE_C)
			wm_data->height = wm_config->height / 2;
		else
			wm_data->height = wm_config->height;

		CAM_DBG(CAM_ISP,
			"WM:%d en_cfg:0x%X height:%d width:%d",
			wm_data->index, wm_data->en_cfg, wm_data->height,