Merge "msm: camera: sensor: Use correct addr_type & data_type for probe" into camera-kernel.lnx.4.0

This commit is contained in:
Camera Software Integration 2021-07-14 10:30:53 -07:00 • committed by Gerrit - the friendly Code Review server
commit 3012045375

View file

@ -688,8 +688,9 @@ int cam_sensor_match_id(struct cam_sensor_ctrl_t *s_ctrl)
rc = camera_io_dev_read(
&(s_ctrl->io_master_info),
slave_info->sensor_id_reg_addr,
&chipid, CAMERA_SENSOR_I2C_TYPE_WORD,
CAMERA_SENSOR_I2C_TYPE_WORD);
&chipid,
s_ctrl->sensor_probe_addr_type,
s_ctrl->sensor_probe_data_type);
CAM_DBG(CAM_SENSOR, "read id: 0x%x expected id 0x%x:",
chipid, slave_info->sensor_id);