You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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:
committed by
Mauro Carvalho Chehab
parent
254a477701
commit
dd519bb34a
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user