diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-08-10 06:07:12 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-13 16:07:24 -0300 |
commit | ed45ce2cc0b31cb442685934b627916f83d1d7c6 (patch) | |
tree | 52edc4d9a2f533f9994506b6b26c70369057f686 /drivers/media/v4l2-core/v4l2-subdev.c | |
parent | 1248c7cb66d734b60efed41be7c7b86909812c0e (diff) | |
download | linux-ed45ce2cc0b31cb442685934b627916f83d1d7c6.tar.gz linux-ed45ce2cc0b31cb442685934b627916f83d1d7c6.tar.bz2 linux-ed45ce2cc0b31cb442685934b627916f83d1d7c6.zip |
[media] v4l2-subdev: add support for the new edid ioctls
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
-rw-r--r-- | drivers/media/v4l2-core/v4l2-subdev.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c index 9182f81deb5b..dced41c1d993 100644 --- a/drivers/media/v4l2-core/v4l2-subdev.c +++ b/drivers/media/v4l2-core/v4l2-subdev.c @@ -348,6 +348,12 @@ static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg) return v4l2_subdev_call( sd, pad, set_selection, subdev_fh, sel); } + + case VIDIOC_SUBDEV_G_EDID: + return v4l2_subdev_call(sd, pad, get_edid, arg); + + case VIDIOC_SUBDEV_S_EDID: + return v4l2_subdev_call(sd, pad, set_edid, arg); #endif default: return v4l2_subdev_call(sd, core, ioctl, cmd, arg); |