linux/drivers/media/usb
Laurent Pinchart f0ed2ce840 [media] uvcvideo: Set error_idx properly for extended controls API failures
When one of the requested controls doesn't exist the error_idx field
must reflect that situation. For G_EXT_CTRLS and S_EXT_CTRLS, error_idx
must be set to the control count. For TRY_EXT_CTRLS, it must be set to
the index of the unexisting control.
This issue was found by the v4l2-compliance tool.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-28 10:24:48 -02:00
..
au0828 [media] au0828-dvb: ret is never tested. Get rid of it 2012-10-28 07:39:02 -02:00
b2c2 [media] Kconfig: Fix b2c2 common code selection 2012-08-21 08:38:31 -03:00
cpia2 [media] v4l2: make vidioc_s_jpegcomp const 2012-09-26 10:43:04 -03:00
cx231xx [media] cx231xx-avcore: get rid of a sophisticated do-nothing code 2012-10-27 18:12:13 -02:00
dvb-usb [media] vp702x: get rid of warning: no previous prototype 2012-10-27 18:14:14 -02:00
dvb-usb-v2 [media] rtl28xxu: add NOXON DAB/DAB+ USB dongle rev 2 2012-11-28 09:51:22 -02:00
em28xx [media] em28xx-cards: fix a warning 2012-10-28 07:38:56 -02:00
gspca [media] gspca-sonixb: Add USB-id for Genius Eye 310 2012-11-21 13:07:50 -02:00
hdpvr [media] drivers/media/usb/hdpvr/hdpvr-core.c: fix error return code 2012-11-22 14:22:31 -02:00
pvrusb2 [media] pvr2: fix minor storage 2012-11-21 18:10:33 -02:00
pwc [media] pwc: Fix codec1 cameras no longer working 2012-11-21 13:05:57 -02:00
s2255 [media] s2255drv: index is always positive 2012-10-28 07:38:57 -02:00
siano [media] siano: fix RC compilation 2012-11-07 11:09:08 +01:00
sn9c102 [media] v4l2: sn9c102 incorrectly blocks FMT_SN9C10X 2012-11-21 18:10:34 -02:00
stk1160 [media] stk1160: Try to continue with fewer transfer buffers 2012-11-21 12:04:22 -02:00
stkwebcam [media] stkwebcam: Fix sparse warning on undeclared symbol 2012-11-21 15:23:14 -02:00
tlg2300 [media] tlg2300: index is unsigned, so never below zero 2012-10-28 07:38:51 -02:00
tm6000 [media] drivers/media/usb/tm6000/tm6000-video.c: fix error return code 2012-11-22 14:20:40 -02:00
ttusb-budget [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
ttusb-dec
usbvision [media] usbvision-core: fix a warning 2012-10-28 07:38:58 -02:00
uvc [media] uvcvideo: Set error_idx properly for extended controls API failures 2012-11-28 10:24:48 -02:00
zr364xx [media] zr364xx: urb actual_length is unsigned 2012-10-28 07:38:59 -02:00
Kconfig [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00