      {0x3508, (uint16_t)(coarse_gain_bitmap), 0}, {0x3509, (uint16_t)(fine_gain_bitmap), 0},
  
      //{0x104,0x0,0},
    };
    return sensor_write_regs(s, reg_array, ARRAYSIZE(reg_array), MSM_CAMERA_I2C_BYTE_DATA);
  }
  
  static void camera_init(VisionIpcServer *v, CameraState *s, int camera_id, int camera_num,
                          uint32_t pixel_clock, uint32_t line_length_pclk,
                          uint32_t max_gain, uint32_t fps, cl_device_id device_id, cl_context ctx,
 
</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   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)); </s> remove   assert(camera_id < ARRAYSIZE(cameras_supported));
 </s> add   assert(camera_id < std::size(cameras_supported)); </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);
  return sensor_write_regs(s, reg_array, std::size(reg_array), MSM_CAMERA_I2C_BYTE_DATA);
      {0x3508, (uint16_t)(coarse_gain_bitmap), 0}, {0x3509, (uint16_t)(fine_gain_bitmap), 0},
  
      //{0x104,0x0,0},
    };
  return sensor_write_regs(s, reg_array, std::size(reg_array), MSM_CAMERA_I2C_BYTE_DATA);
  }
  
  static void camera_init(VisionIpcServer *v, CameraState *s, int camera_id, int camera_num,
                          uint32_t pixel_clock, uint32_t line_length_pclk,
                          uint32_t max_gain, uint32_t fps, cl_device_id device_id, cl_context ctx,
keep keep keep keep replace keep keep keep keep keep
 Use std::size for element counts (#20654) 
selfdrive/camerad/cameras/camera_qcom.cc