dubai: read sensorid failed,but return success

detail:
Returns error after five retry

Change-Id: I526bcf3ea22c838280ffd0d6d3a7d055d7c764d7
Signed-off-by: huqian4 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2243930
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Pengfei Qiao <[email protected]>
Reviewed-by: <[email protected]>
Reviewed-by: <[email protected]>
Reviewed-by: <[email protected]>
Reviewed-by: Long Cheng <[email protected]>
Reviewed-by: Zhichao Chen <[email protected]>
Submit-Approved: Jira Key
This commit is contained in:
huqian4 2022-04-15 17:29:35 +08:00 • committed by zhaoji1
commit f724450d83

View file

@ -718,7 +718,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