Skip to content

Commit

Permalink
camera_v2-legacy: disable actuator lens parking during init
Browse files Browse the repository at this point in the history
causes weird power cycling issue which is accompanied by a sound of the cameras trying to reset their actuators
  • Loading branch information
Jebaitedneko committed Aug 27, 2020
1 parent 032d5cd commit 7866e16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1126,14 +1126,14 @@ static int32_t msm_actuator_power_down(struct msm_actuator_ctrl_t *a_ctrl)

CDBG("Enter\n");
if (a_ctrl->actuator_state != ACT_DISABLE_STATE) {

/* Disabling to fix weird power cycling
if (a_ctrl->func_tbl && a_ctrl->func_tbl->actuator_park_lens) {
rc = a_ctrl->func_tbl->actuator_park_lens(a_ctrl);
if (rc < 0)
pr_err("%s:%d Lens park failed.\n",
__func__, __LINE__);
}

*/
rc = msm_actuator_vreg_control(a_ctrl, 0);
if (rc < 0) {
pr_err("%s failed %d\n", __func__, __LINE__);
Expand Down

0 comments on commit 7866e16

Please sign in to comment.