diff options
author | Frank Schaefer <fschaefer.oss@googlemail.com> | 2013-02-07 13:39:09 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-04 13:36:02 -0300 |
commit | 6e46daba562e44eee3009e4055a016a1c4bbb378 (patch) | |
tree | 9debe3f6f49993e6af3432a585794d3a1657c7d9 /firmware/README.AddingFirmware | |
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>
Diffstat (limited to 'firmware/README.AddingFirmware')
0 files changed, 0 insertions, 0 deletions