瀏覽代碼

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: Venkat Chinta <[email protected]>
Venkat Chinta 5 年之前
父節點
當前提交
a753fd0f4d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c

+ 2 - 1
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c

@@ -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 {