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

Commit 3becfbef authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: Return current lens position in actuator driver"

parents 4b2d5f30 18d76dfa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -319,6 +319,7 @@ static int32_t msm_actuator_move_focus(
		a_ctrl->curr_step_pos = target_step_pos;
	}

	move_params->curr_lens_pos = curr_lens_pos;
	reg_setting.reg_setting = a_ctrl->i2c_reg_tbl;
	reg_setting.data_type = a_ctrl->i2c_data_type;
	reg_setting.size = a_ctrl->i2c_tbl_index;
+1 −0
Original line number Diff line number Diff line
@@ -480,6 +480,7 @@ struct msm_actuator_move_params_t {
	int8_t sign_dir;
	int16_t dest_step_pos;
	int32_t num_steps;
	uint16_t curr_lens_pos;
	struct damping_params_t *ringing_params;
};