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

Commit d42bce29 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: Enable power down for actuator"

parents a3149044 574c92ae
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -591,7 +591,11 @@ static int32_t msm_actuator_config(struct msm_actuator_ctrl_t *a_ctrl,
		if (rc < 0)
			pr_err("move focus failed %d\n", rc);
		break;

	case CFG_ACTUATOR_POWERDOWN:
		rc = msm_actuator_power_down(a_ctrl);
		if (rc < 0)
			pr_err("msm_actuator_power_down failed %d\n", rc);
		break;
	default:
		break;
	}
+1 −0
Original line number Diff line number Diff line
@@ -439,6 +439,7 @@ enum msm_actuator_cfg_type_t {
	CFG_SET_ACTUATOR_INFO,
	CFG_SET_DEFAULT_FOCUS,
	CFG_MOVE_FOCUS,
	CFG_ACTUATOR_POWERDOWN,
};

enum actuator_type {