devon4g: read sensorid failed,but return success

detail:
Returns error after five retry

Change-Id: Ib18b78d276b59d1c6916a1a243bc7903117119ea
Signed-off-by: qiaopf1 <qiaopf1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2242900
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Long Cheng <chengl1@motorola.com>
Reviewed-by: <hedj3@motorola.com>
Reviewed-by: <yangmf3@motorola.com>
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: <huqian4@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
qiaopf1 authored and Carlos Pinho committed 2023-05-31 16:59:32 -03:00
1 parent ee3d4d8072
commit d3d76d71d5
1 file changed
+1 -1
@@ -645,7 +645,7 @@ int cam_sensor_match_id(struct cam_sensor_ctrl_t *s_ctrl)
if (!matched && !retries) {
CAM_ERR(CAM_SENSOR, "Failed read id: 0x%x expected id 0x%x:",
chipid, slave_info->sensor_id);
return -ENODEV;
}
}
#else