Kaynağa Gözat

Merge "msm: camera: isp: Fix HW index to IFE HW mapping logic" into camera-kernel.lnx.5.0

Haritha Chintalapati 4 yıl önce
ebeveyn
işleme
756edf7cf2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 1 - 1
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -2145,7 +2145,7 @@ static int cam_convert_hw_idx_to_ife_hw_num(int hw_idx)
 		case 1: return CAM_ISP_IFE1_HW;
 		case 2: return CAM_ISP_IFE2_HW;
 		}
-	} else if (hw_idx < g_num_ife_lite) {
+	} else if (hw_idx < g_num_ife + g_num_ife_lite) {
 		switch (hw_idx - g_num_ife) {
 		case 0: return CAM_ISP_IFE0_LITE_HW;
 		case 1: return CAM_ISP_IFE1_LITE_HW;