linux_dsm_epyc7002/drivers/media/usb/em28xx
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
..
em28xx-audio.c
em28xx-cards.c [media] em28xx: fix audio input for TV mode of device Terratec Cinergy 250 2013-01-06 10:45:53 -02:00
em28xx-core.c [media] em28xx: fix analog streaming with USB bulk transfers 2013-02-11 18:17:44 -02:00
em28xx-dvb.c [media] em28xx: simplify device state tracking 2013-01-05 01:09:39 -02:00
em28xx-i2c.c [media] em28xx: add missing IR RC slave address to the list of known i2c devices 2013-02-05 20:25:23 -02:00
em28xx-input.c [media] em28xx: input: use common work_struct callback function for IR RC key polling 2013-02-05 20:43:16 -02:00
em28xx-reg.h [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
em28xx-vbi.c [media] em28xx: convert to videobuf2 2013-01-05 01:03:38 -02:00
em28xx-video.c [media] [REVIEW] em28xx: fix bytesperline calculation in TRY_FMT 2013-02-08 17:26:24 -02:00
em28xx.h [media] em28xx: get rid of the dependency on module ir-kbd-i2c 2013-02-05 20:38:50 -02:00
Kconfig [media] em28xx: convert to videobuf2 2013-01-05 01:03:38 -02:00
Makefile [media] Fix some Makefile rules 2012-08-16 19:55:03 -03:00