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

Commit a753fd0f authored by Venkat Chinta's avatar Venkat Chinta
Browse files

msm: camera: ife: Assign VC/DT values for CSID TPG



This change adds check for CSID TPG to assign VC/DT
values for CSID path.

CRs-Fixed: 2619894
Change-Id: I94b3661e45285cd83b572353a6bcd3f2b04d31c7
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
parent 6c7de846
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1140,7 +1140,8 @@ int cam_ife_csid_path_reserve(struct cam_ife_csid_hw *csid_hw,
		path_data->crop_enable);

	if ((reserve->in_port->res_type == CAM_ISP_IFE_IN_RES_CPHY_TPG_0) ||
		(reserve->in_port->res_type == CAM_ISP_IFE_IN_RES_CPHY_TPG_1)) {
		(reserve->in_port->res_type == CAM_ISP_IFE_IN_RES_CPHY_TPG_1) ||
		(reserve->in_port->res_type == CAM_ISP_IFE_IN_RES_TPG)) {
		path_data->dt = CAM_IFE_CSI_TPG_DT_VAL;
		path_data->vc = CAM_IFE_CSI_TPG_VC_VAL;
	} else {