Merge "msm: camera: csiphy: Add version check for secure mask" into camera-kernel.lnx.5.0

This commit is contained in:
Camera Software Integration
2021-09-27 15:36:52 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -393,6 +393,7 @@ static int32_t cam_csiphy_update_secure_info(
case CSIPHY_VERSION_V121:
case CSIPHY_VERSION_V123:
case CSIPHY_VERSION_V124:
case CSIPHY_VERSION_V210:
phy_mask_len =
(csiphy_dev->soc_info.index < MAX_PHY_MSK_PER_REG) ?
(CAM_CSIPHY_MAX_DPHY_LANES + CAM_CSIPHY_MAX_CPHY_LANES) :