linux-sg2042/drivers/media
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
..
common [media] siano: fix build with allmodconfig 2012-11-23 13:48:39 -02:00
dvb-core [media] rtl28xxu: add NOXON DAB/DAB+ USB dongle rev 2 2012-11-28 09:51:22 -02:00
dvb-frontends Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
firewire [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
i2c Linux 3.8-rc3 2013-01-11 13:28:19 -02:00
mmc Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
platform Linux 3.8-rc3 2013-01-11 13:28:19 -02:00
radio Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
rc Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
tuners [media] fc2580: write some registers conditionally 2012-11-28 09:47:56 -02:00
usb [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures 2013-01-11 13:30:27 -02:00
v4l2-core [media] v4l: vb2: Set data_offset to 0 for single-plane output buffers 2013-01-06 09:19:57 -02:00
Kconfig [media] Kconfig: Fix dependencies for driver autoselect options 2012-10-17 16:45:56 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c [media] media-devnode: Replace printk with pr_* 2012-09-27 14:19:23 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00