> @@ -248,13 +248,14 @@ int v4l2_device_register_subdev_nodes(struct > v4l2_device *v4l2_dev) > vdev->fops = &v4l2_subdev_fops; > vdev->release = v4l2_device_release_subdev_node; > vdev->ctrl_handler = sd->ctrl_handler; > + sd->devnode = vdev; > err = __video_re...
int (*g_dv_timings)(struct v4l2_subdev *sd, struct v4l2_dv_timings *timings); - int (*enum_dv_timings)(struct v4l2_subdev *sd, - struct v4l2_enum_dv_timings *timings); int (*query_dv_timings)(struct v4l2_subdev *sd, struct v4l2_dv_timings *timings); - int (*dv_timings_ca...
[PATCH v4 26/49] v4l: Validate fields in the core code for subdev EDID ioctls The subdev EDID ioctls receive a pad field that must reference an existing pad and an EDID field that must point to a buffer. Validate both fields in the core code instead of duplicating validation in all driv...
Validate the pad field in the core code whenever specified. Signed-off-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Reviewed-by: Hans Verkuil <hans.verk...@cisco.com> --- .../DocBook/media/v4l/vidioc-dv-timings-cap.xml | 27 ++++++++++--- .../DocBook/media/v4l/...