]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[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>
Thu, 7 Jul 2011 17:20:09 +0000 (14:20 -0300)
commita6155c77b4ffd3974c49d26b118f453f8a8583b3
tree7b1f7c99cee1ba0d96a61ebb28271477699bfab5
parent532916ba9c65662e5baa3e0274e75d5fbc24e656
[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