Browse Source

msm: camera: req_mgr: Remove unwanted v4l2 operation

CCI hardware is no longer register as device node with v4l2 layer.
At time of notify message, there is missing check to read subdev
name, which cause the null pointer issue. This change removes
the sudbev node reading operation with devnode pointer as it is
not being use anywhere in functionality.

CRs-Fixed: 2702760, 2727771
Change-Id: Id362bd2edf4eea35f05115ae3a5b6c1d761bb437
Signed-off-by: Jigarkumar Zala <[email protected]>
Jigarkumar Zala 5 năm trước cách đây
mục cha
commit
402c0a500b
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/cam_req_mgr/cam_req_mgr_dev.c

+ 0 - 1
drivers/cam_req_mgr/cam_req_mgr_dev.c

@@ -649,7 +649,6 @@ void cam_subdev_notify_message(u32 subdev_type,
 	struct cam_subdev *csd = NULL;
 
 	list_for_each_entry(sd, &g_dev.v4l2_dev->subdevs, list) {
-		sd->entity.name = video_device_node_name(sd->devnode);
 		if (sd->entity.function == subdev_type) {
 			csd = container_of(sd, struct cam_subdev, sd);
 			if (csd->msg_cb != NULL)