diff options
| author | Hans Verkuil <[email protected]> | 2012-08-10 09:07:12 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2012-09-13 19:07:24 +0000 |
| commit | ed45ce2cc0b31cb442685934b627916f83d1d7c6 (patch) | |
| tree | 52edc4d9a2f533f9994506b6b26c70369057f686 /drivers/media/v4l2-core/v4l2-subdev.c | |
| parent | [media] V4L2 spec: document the new DV controls and ioctls (diff) | |
| download | kernel-ed45ce2cc0b31cb442685934b627916f83d1d7c6.tar.gz kernel-ed45ce2cc0b31cb442685934b627916f83d1d7c6.zip | |
[media] v4l2-subdev: add support for the new edid ioctls
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
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); |
