]> git.baikalelectronics.ru Git - kernel.git/commit
[media] -EINVAL -> -ENOTTY
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 8 Feb 2012 11:09:36 +0000 (08:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:36:13 +0000 (22:36 -0300)
commitf0c3354cbc7ae911fdb993af1c144d16cb3687a4
treef28ca5d94ea883c4781ce48bb33d2573d7ffc401
parent1a94581277d11ab09e97e6e6ebf1a61ac4049e29
[media] -EINVAL -> -ENOTTY

I found one more place where -EINVAL is used instead of -ENOTTY:

Note that drivers/media/dvb/dvb-core/dvbdev.c has the same code, but as far as
I can tell DVB is still using -EINVAL for unknown ioctls so I didn't change
that.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c