From: Hans Verkuil Date: Sun, 6 May 2012 12:28:21 +0000 (-0300) Subject: [media] gspca: Fix querycap and incorrect return codes X-Git-Tag: v3.5-rc1~104^2~264 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc7b6f257d42eb9829b38e3a8807943426a89a87;p=pandora-kernel.git [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 Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed