]> git.baikalelectronics.ru Git - kernel.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>
Wed, 27 Jul 2011 20:53:38 +0000 (17:53 -0300)
commitfa1a1bf191c85bc3482a6e093932357ed4de97b3
treea0d4888daa6b56ff06c2296b9e7b83b904682271
parent8f5831418a46dd0f7516eb5b59e7274856611ca2
[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