소스 검색

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 년 전
부모
커밋
402c0a500b
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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)