OSDN Git Service

v4l2-dev: forgot to add VIDIOC_DV_TIMINGS_CAP.
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 11 Jul 2012 12:12:45 +0000 (14:12 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 Jul 2012 17:29:46 +0000 (10:29 -0700)
commitc1e3209623ccd92f2f391a31ecf3895daa0238f3
tree6d6c868f21940af21059f5de188615792ab30656
parentfe2e27bb92c54a1208b014e87b0110b9dfc42ec2
v4l2-dev: forgot to add VIDIOC_DV_TIMINGS_CAP.

The VIDIOC_DV_TIMINGS_CAP ioctl check wasn't added to determine_valid_ioctls().
This caused this ioctl to always return -ENOTTY.

The cause for this was that for 3.5 two patch series were merged, one
changing V4L2 core ioctl handling and one adding new functionality, and
some of the new functionality wasn't handled by the new V4L2 core code.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
[ Taking it directly due to vacations  - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/video/v4l2-dev.c