瀏覽代碼

Merge "msm: camera: sensor: Initialize list head" into camera-kernel.lnx.5.0

Haritha Chintalapati 4 年之前
父節點
當前提交
de04aae87b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/cam_sensor_module/cam_ois/cam_ois_dev.c

+ 2 - 1
drivers/cam_sensor_module/cam_ois/cam_ois_dev.c

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
  */
 
 #include "cam_ois_dev.h"
@@ -288,6 +288,7 @@ static int cam_ois_component_bind(struct device *dev,
 	INIT_LIST_HEAD(&(o_ctrl->i2c_calib_data.list_head));
 	INIT_LIST_HEAD(&(o_ctrl->i2c_fwinit_data.list_head));
 	INIT_LIST_HEAD(&(o_ctrl->i2c_mode_data.list_head));
+	INIT_LIST_HEAD(&(o_ctrl->i2c_time_data.list_head));
 	mutex_init(&(o_ctrl->ois_mutex));
 	rc = cam_ois_driver_soc_init(o_ctrl);
 	if (rc) {