      actuator_cfg_data.cfgtype = CFG_ACTUATOR_INIT;
      err = ioctl(s->actuator_fd, VIDIOC_MSM_ACTUATOR_CFG, &actuator_cfg_data);
      LOG("actuator init: %d", err);
  
      // leeco actuator (DW9800W H-Bridge Driver IC)
      // from sniff
      s->infinity_dac = 364;
  
      struct msm_actuator_reg_params_t actuator_reg_params[] = {
        {
          .reg_write_type = MSM_ACTUATOR_WRITE_DAC,
          // MSB here at address 3
          .reg_addr = 3,
 
</s> remove 
static struct damping_params_t actuator_ringing_params = {
  .damping_step = 1023,
  .damping_delay = 15000,
  .hw_params = 0x0000e422,
};

 </s> add  </s> remove   struct msm_actuator_cfg_data actuator_cfg_data = {0};

 </s> add  </s> remove         .initial_code = (int16_t)s->infinity_dac,
 </s> add         .initial_code = INFINITY_DAC, </s> remove   // focus on infinity assuming phone is perpendicular
  int inf_step;

  actuator_ringing_params.damping_step = 1023;
  actuator_ringing_params.damping_delay = 20000;
  actuator_ringing_params.hw_params = 13;

  inf_step = 512 - s->infinity_dac;
 </s> add   int inf_step = 512 - INFINITY_DAC;
      actuator_cfg_data.cfgtype = CFG_ACTUATOR_INIT;
      err = ioctl(s->actuator_fd, VIDIOC_MSM_ACTUATOR_CFG, &actuator_cfg_data);
      LOG("actuator init: %d", err);
  




      struct msm_actuator_reg_params_t actuator_reg_params[] = {
        {
          .reg_write_type = MSM_ACTUATOR_WRITE_DAC,
          // MSB here at address 3
          .reg_addr = 3,
keep keep keep keep replace replace replace replace keep keep keep keep keep
 cleanup camera_qcom const structs (#20251)

* move actuator_ringing_params from global to function actuator_move

* remove varaible infinity_dac from CameraState

* static actuator_ringing_params

* continue

* rebase master 
selfdrive/camerad/cameras/camera_qcom.cc