aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-subdev.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-08-10 05:07:12 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-13 15:07:24 -0400
commited45ce2cc0b31cb442685934b627916f83d1d7c6 (patch)
tree52edc4d9a2f533f9994506b6b26c70369057f686 /drivers/media/v4l2-core/v4l2-subdev.c
parent1248c7cb66d734b60efed41be7c7b86909812c0e (diff)
[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.c6
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)
348 return v4l2_subdev_call( 348 return v4l2_subdev_call(
349 sd, pad, set_selection, subdev_fh, sel); 349 sd, pad, set_selection, subdev_fh, sel);
350 } 350 }
351
352 case VIDIOC_SUBDEV_G_EDID:
353 return v4l2_subdev_call(sd, pad, get_edid, arg);
354
355 case VIDIOC_SUBDEV_S_EDID:
356 return v4l2_subdev_call(sd, pad, set_edid, arg);
351#endif 357#endif
352 default: 358 default:
353 return v4l2_subdev_call(sd, core, ioctl, cmd, arg); 359 return v4l2_subdev_call(sd, core, ioctl, cmd, arg);