[media] v4l2: add VIDIOC_G/S_EDID support to the v4l2 core

Support this ioctl as part of the v4l2 core. Use the new ioctl
name and struct v4l2_edid type in the existing core code.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Hans Verkuil
2014-03-07 07:18:37 -03:00
committed by Mauro Carvalho Chehab
parent 254a477701
commit dd519bb34a
6 changed files with 37 additions and 23 deletions
+2 -2
View File
@@ -349,10 +349,10 @@ static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg)
sd, pad, set_selection, subdev_fh, sel);
}
case VIDIOC_SUBDEV_G_EDID:
case VIDIOC_G_EDID:
return v4l2_subdev_call(sd, pad, get_edid, arg);
case VIDIOC_SUBDEV_S_EDID:
case VIDIOC_S_EDID:
return v4l2_subdev_call(sd, pad, set_edid, arg);
#endif
default: