[media] V4L2: drivers implementing vidioc_default should also return -ENOTTY
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 19 Apr 2012 15:36:03 +0000 (12:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 20:23:55 +0000 (17:23 -0300)
commitd1c754a9326d95dff93bfe8004cba8574a7a20a8
tree2fd7dedd41270de9717dd87bfb8eb285d3bcfd62
parentee71e7b3ae1780e4475aa5dd980dd99c0309079b
[media] V4L2: drivers implementing vidioc_default should also return -ENOTTY

If the vidioc_default implementation doesn't support the ioctl, then drivers
must return -ENOTTY instead of -EINVAL.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-ioctl.c
drivers/media/video/davinci/vpfe_capture.c
drivers/media/video/ivtv/ivtv-ioctl.c
drivers/media/video/meye.c
drivers/media/video/mxb.c