Explorar o código

Merge "msm: camera: isp: Change comparison condition to fix compilation" into camera-kernel.lnx.5.0

Haritha Chintalapati %!s(int64=4) %!d(string=hai) anos
pai
achega
d8174b2e37
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

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

@@ -5488,8 +5488,7 @@ static int cam_isp_blob_sensor_config(
 				path_config = &dim_config->ipp_path;
 			} else if (res_id == CAM_IFE_PIX_PATH_RES_PPP) {
 				path_config = &dim_config->ppp_path;
-			} else if (res_id >= CAM_IFE_PIX_PATH_RES_RDI_0 ||
-					res_id <= CAM_IFE_PIX_PATH_RES_RDI_4) {
+			} else if (res_id <= CAM_IFE_PIX_PATH_RES_RDI_4) {
 				path_config = &dim_config->rdi_path[res_id];
 			} else {
 				CAM_DBG(CAM_ISP, "Invalid res id %u", res_id);