linux/drivers/media/usb
Frank Schaefer 33f6984ece [media] em28xx: fix analog streaming with USB bulk transfers
With the conversion to videobuf2, some unnecessary calls of
em28xx_set_alternate() have been removed. It is now called at analog streaming
start only.
This has unveiled a bug that causes USB bulk transfers to fail with all urbs
having status -EVOERFLOW.
The reason is, that for bulk transfers usb_set_interface() needs to be called
even if the previous alt setting was the same (side note: bulk transfers seem
to work only with alt=0).
While it seems to be NOT necessary for isoc transfers, it's reasonable to just
call usb_set_interface() unconditionally in em28xx_set_alternate().
Also add a comment that explains the issue to prevent regressions in the future.

Cc: stable@vger.kernel.org # for 3.8
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-02-11 18:17:44 -02:00
..
au0828 [media] au0828: Replace memcpy with struct assignment 2012-12-27 18:49:44 -02:00
b2c2
cpia2 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
cx231xx [media] cx231xx: add a missing break statement 2013-02-05 20:22:06 -02:00
dvb-usb [media] ttusb2: Kconfig patch to auto-select frontends for TechnoTrend CT-3650 2013-02-08 15:44:33 -02:00
dvb-usb-v2 [media] Support Digivox Mini HD (rtl2832) 2013-02-06 08:16:08 -02:00
em28xx [media] em28xx: fix analog streaming with USB bulk transfers 2013-02-11 18:17:44 -02:00
gspca [media] usb/gspca/zc3xx.c: use IS_ENABLED() macro 2013-02-05 14:54:43 -02:00
hdpvr [media] [V2,23/24] usb/hdpvr/hdpvr-i2c.c: use IS_ENABLED() macro 2013-02-06 09:20:41 -02:00
pvrusb2 [media] pvrusb2: Replace memcpy with struct assignment 2012-12-27 18:45:53 -02:00
pwc [media] pwc: Don't return EINVAL when an unsupported pixelformat is requested 2013-02-05 14:54:47 -02:00
s2255 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
siano Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
sn9c102 [media] sn9c102: Replace memcpy with struct assignment 2012-12-27 18:44:46 -02:00
stk1160 [media] stk1160: Replace BUG_ON with WARN_ON 2013-01-01 10:04:40 -02:00
stkwebcam [media] stk-webcam: Add an upside down dmi table, and add the Asus G1 to it 2012-12-21 13:34:30 -02:00
tlg2300 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
tm6000 [media] tm6000: fix an uninitialized variable 2013-02-08 17:30:53 -02:00
ttusb-budget [media] dvb-usb: check for invalid length in ttusb_process_muxpack() 2013-02-08 17:29:52 -02:00
ttusb-dec
usbvision Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
uvc [media] uvcvideo: Implement videobuf2 .wait_prepare and .wait_finish operations 2013-02-06 09:33:58 -02:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2 2012-12-17 14:31:26 -02:00
Makefile