瀏覽代碼

msm: camera: sensor: Fix the sensor code for missing symbol

Fix the sensor code failure for i3cdev_to_dev API
which is missing the symbol in the kernel allow list.

CRs-Fixed: 3200508
Change-Id: I2ffc28d20e5e0e1e454e187299f61c983801d05c
Signed-off-by: Jigar Agrawal <[email protected]>
Signed-off-by: Wasim Khan <[email protected]>
Wasim Khan 3 年之前
父節點
當前提交
bd883bdd5d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/cam_sensor_module/cam_sensor/cam_sensor_dev.c

+ 1 - 1
drivers/cam_sensor_module/cam_sensor/cam_sensor_dev.c

@@ -197,7 +197,7 @@ static int cam_sensor_i3c_driver_probe(struct i3c_device *client)
 		return -EINVAL;
 	}
 
-	i3cdev_set_drvdata(client, s_ctrl);
+	dev->driver_data = s_ctrl;
 
 	s_ctrl->io_master_info.i3c_client = client;