summaryrefslogtreecommitdiffstats
path: root/arch/um/sys-ia64/sysdep/syscalls.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2015-04-03 11:53:42 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-10 15:26:02 +0200
commit1461fe7ab6e61c4ad59f54e308872c0bae09d609 (patch)
tree2beb3957c7edc8c425ed6a5e45f7a2f88e9acae3 /arch/um/sys-ia64/sysdep/syscalls.h
parent[media] media: omap3isp: remove unused clkdev (diff)
downloadlinux-1461fe7ab6e61c4ad59f54e308872c0bae09d609.tar.xz
linux-1461fe7ab6e61c4ad59f54e308872c0bae09d609.zip
[media] uvcvideo: fix cropcap v4l2-compliance failure
The v4l2-compliance tool expects that if VIDIOC_CROPCAP is defined, then VIDIOC_G_SELECTION for TGT_CROP_BOUNDS/DEFAULT is also defined (or COMPOSE in the case of an output device). In fact, all that a driver has to do to implement cropcap is to support those two targets since the v4l2 core will implement cropcap and fill in the pixelaspect to 1/1 by default. Implementing cropcap is only needed if the pixelaspect isn't square. So implement g_selection instead of cropcap in uvc to fix the v4l2-compliance failure. [Added blank lines for improved readability] Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'arch/um/sys-ia64/sysdep/syscalls.h')
0 files changed, 0 insertions, 0 deletions