kernel_optimize_test/drivers/media/usb
Laurent Pinchart 68d6f84ba0 [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures
The uvc_set_ctrl() calls don't write to the hardware. A failure at that
point thus leaves the device in a clean state, with no control modified.
Set the error_idx field to the count value to reflect that, as per the
V4L2 specification.
TRY_EXT_CTRLS is unchanged and the error_idx field must always be set to
the failed control index in that case.

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>
2013-01-11 13:30:27 -02:00
..
au0828 [media] au0828-dvb: ret is never tested. Get rid of it 2012-10-28 07:39:02 -02:00
b2c2
cpia2
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 Linux 3.8-rc3 2013-01-11 13:28:19 -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 Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08: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
ttusb-dec
usbvision Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
uvc [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures 2013-01-11 13:30:27 -02:00
zr364xx [media] zr364xx: urb actual_length is unsigned 2012-10-28 07:38:59 -02:00
Kconfig
Makefile