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 <vchinta@codeaurora.org>
This commit is contained in:
Venkat Chinta 2020-02-11 12:18:05 -08:00
commit a753fd0f4d

View file

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