[media] V4L2: drivers implementing vidioc_default should also return -ENOTTY
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 19 Apr 2012 15:36:03 +0000 (12:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 19 Apr 2012 20:23:55 +0000 (17:23 -0300)
If the vidioc_default implementation doesn't support the ioctl, then drivers
must return -ENOTTY instead of -EINVAL.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found