Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30120453 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 8af123ac aead69dc
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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);