]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit02bbb814d8db7b632458fcf8651267798eeef985
treef28ca5d94ea883c4781ce48bb33d2573d7ffc401
parentff38d58ec08e347f01fc380f774cedde6dec4103
[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