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

Commit 3abbd712 authored by Tanvi Aggarwal's avatar Tanvi Aggarwal Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Setting actuator to initial position



Updating the hw_params before setting initial position
for VCM type actuator.

CRs-Fixed: 987939
Change-Id: I1b1f1801eb0578644b2e954a3a3ade17b3f2a1fd
Signed-off-by: default avatarTanvi Aggarwal <tanvia@codeaurora.org>
parent bc936131
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1165,6 +1165,7 @@ static int32_t msm_actuator_set_position(
	}

	a_ctrl->i2c_tbl_index = 0;
	hw_params = set_pos->hw_params;
	for (index = 0; index < set_pos->number_of_steps; index++) {
		next_lens_position = set_pos->pos[index];
		delay = set_pos->delay[index];