[media] v4l2 core: return -ENOTTY if an ioctl doesn't exist
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Jul 2011 17:08:08 +0000 (14:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:38 +0000 (17:53 -0300)
commit9190d191b1b814dfb488125b54cf0de6eedd9220
treea0d4888daa6b56ff06c2296b9e7b83b904682271
parentc28f53f6cd45de5cefe8dc7479236b745b97d49c
[media] v4l2 core: return -ENOTTY if an ioctl doesn't exist

Currently, -EINVAL is used to return either when an IOCTL is not
implemented, or if the ioctl was not implemented.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media/v4l/gen-errors.xml
Documentation/DocBook/media/v4l/v4l2.xml
drivers/media/video/v4l2-ioctl.c