  
      // REG_HOLD
      {0x104,0x0,0},
    };
    return sensor_write_regs(s, reg_array, ARRAYSIZE(reg_array), MSM_CAMERA_I2C_BYTE_DATA);
  }
  
  static int ov8865_apply_exposure(CameraState *s, int gain, int integ_lines, uint32_t frame_length) {
    //printf("driver camera: %d %d %d\n", gain, integ_lines, frame_length);
    int coarse_gain_bitmap, fine_gain_bitmap;
 
</s> remove   return sensor_write_regs(s, reg_array, ARRAYSIZE(reg_array), MSM_CAMERA_I2C_BYTE_DATA);
 </s> add   return sensor_write_regs(s, reg_array, std::size(reg_array), MSM_CAMERA_I2C_BYTE_DATA); </s> remove   int err = sensor_write_regs(s, start_reg_array, ARRAYSIZE(start_reg_array), MSM_CAMERA_I2C_BYTE_DATA);
 </s> add   int err = sensor_write_regs(s, start_reg_array, std::size(start_reg_array), MSM_CAMERA_I2C_BYTE_DATA); </s> remove   int err = sensor_write_regs(s, start_reg_array, ARRAYSIZE(start_reg_array), MSM_CAMERA_I2C_BYTE_DATA);
 </s> add   int err = sensor_write_regs(s, start_reg_array, std::size(start_reg_array), MSM_CAMERA_I2C_BYTE_DATA); </s> remove   assert(camera_id < ARRAYSIZE(cameras_supported));
 </s> add   assert(camera_id < std::size(cameras_supported)); </s> remove   assert(camera_id < ARRAYSIZE(cameras_supported));
 </s> add   assert(camera_id < std::size(cameras_supported));
  return sensor_write_regs(s, reg_array, std::size(reg_array), MSM_CAMERA_I2C_BYTE_DATA);
  
      // REG_HOLD
      {0x104,0x0,0},
    };
  return sensor_write_regs(s, reg_array, std::size(reg_array), MSM_CAMERA_I2C_BYTE_DATA);
  }
  
  static int ov8865_apply_exposure(CameraState *s, int gain, int integ_lines, uint32_t frame_length) {
    //printf("driver camera: %d %d %d\n", gain, integ_lines, frame_length);
    int coarse_gain_bitmap, fine_gain_bitmap;
keep keep keep keep replace keep keep keep keep keep
 Use std::size for element counts (#20654) 
selfdrive/camerad/cameras/camera_qcom.cc