]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[media] gspca: Fix querycap and incorrect return codes
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 6 May 2012 12:28:21 +0000 (09:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 12:27:57 +0000 (09:27 -0300)
commitcc7b6f257d42eb9829b38e3a8807943426a89a87
tree1b19378610c8817b3103a77ccf1925ff4e4bc527
parentd57fb9f8a69deb521ffabac02d2fea484141e59c
[media] gspca: Fix querycap and incorrect return codes

Add V4L2_CAP_DEVICE_CAPS support to querycap and replace -EINVAL by
-ENOTTY whenever an ioctl is not supported.

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