]> asedeno.scripts.mit.edu Git - linux.git/commit
media: v4l2-ioctl: create helper to fill in v4l2_standard for ENUMSTD
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 17 May 2018 14:30:15 +0000 (10:30 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Jun 2018 11:29:24 +0000 (07:29 -0400)
commitaa2f88712718d045855acc6686dbce6a7286d010
tree15f5c14949fda33c895c84a2bc0003ef81d32051
parent39fb993038e158d4cbba47f6dbda6fe77a0e8cb9
media: v4l2-ioctl: create helper to fill in v4l2_standard for ENUMSTD

Prepare for adding a new IOCTL VIDIOC_SUBDEV_ENUMSTD which would
enumerate the standards for a subdevice by breaking out the code which
could be shared between the video and subdevice versions of this IOCTL.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
[hans.verkuil@cisco.com: fixed 'sdandard' typos in v4l2-ioctl.h]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-ioctl.c
include/media/v4l2-ioctl.h