From a753fd0f4ddf25dba030ce6167e59b4a49713dd8 Mon Sep 17 00:00:00 2001 From: Venkat Chinta Date: Tue, 11 Feb 2020 12:18:05 -0800 Subject: [PATCH] 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 --- .../cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c index b7787a32ff97..7ee973bc08ed 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c +++ b/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 {