commit | 6e46daba562e44eee3009e4055a016a1c4bbb378 | [log] [tgz] |
---|---|---|
author | Frank Schaefer <fschaefer.oss@googlemail.com> | Thu Feb 07 13:39:09 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 04 13:36:02 2013 -0300 |
tree | 9debe3f6f49993e6af3432a585794d3a1657c7d9 | |
parent | d34c353cd40ff0e6e5ed3753e80f6aa7eaa2c298 [diff] |
[media] em28xx: use v4l2_disable_ioctl() to disable ioctls VIDIOC_QUERYSTD, VIDIOC_G/S_STD Instead of checking the device type and returning -ENOTTY inside the ioctl functions, use v4l2_disable_ioctl() to disable the ioctls VIDIOC_QUERYSTD, VIDIOC_G_STD and VIDIOC_S_STD if the device is a camera. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>