commit | 3bc85cce365ca12f98aec150160ed0b84e1af732 | [log] [tgz] |
---|---|---|
author | Frank Schaefer <fschaefer.oss@googlemail.com> | Thu Feb 07 13:39:12 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 04 13:39:47 2013 -0300 |
tree | e9d054f8e81b08adc691b81036ff1ac741a7ffc6 | |
parent | c2dcef835e40f5a63b14f6eeada8b08b37da263f [diff] |
[media] em28xx: use v4l2_disable_ioctl() to disable ioctl VIDIOC_S_PARM Instead of checking the device type and returning -ENOTTY inside the ioctl function, use v4l2_disable_ioctl() to disable the ioctl VIDIOC_S_PARM if the device is not 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>