Browse Source

Merge "msm: camera: csiphy: Protect phy lanes for holi target" into camera-kernel.lnx.4.0

Camera Software Integration 4 years ago
parent
commit
8ff7db91ee
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/cam_sensor_module/cam_csiphy/cam_csiphy_core.c

+ 2 - 1
drivers/cam_sensor_module/cam_csiphy/cam_csiphy_core.c

@@ -111,7 +111,8 @@ static int32_t cam_csiphy_update_secure_info(
 		lane_assign >>= 4;
 		lane_assign >>= 4;
 	}
 	}
 
 
-	if (csiphy_dev->hw_version == CSIPHY_VERSION_V201) {
+	if ((csiphy_dev->hw_version == CSIPHY_VERSION_V201) ||
+		(csiphy_dev->hw_version == CSIPHY_VERSION_V125)) {
 		phy_mask_len = CAM_CSIPHY_MAX_DPHY_LANES +
 		phy_mask_len = CAM_CSIPHY_MAX_DPHY_LANES +
 			CAM_CSIPHY_MAX_CPHY_LANES + 1;
 			CAM_CSIPHY_MAX_CPHY_LANES + 1;
 	} else if (csiphy_dev->hw_version == CSIPHY_VERSION_V121) {
 	} else if (csiphy_dev->hw_version == CSIPHY_VERSION_V121) {