kernel_optimize_test/drivers/media
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
..
common [media] tveeprom: Fix lots of bad whitespace 2013-02-08 16:19:22 -02:00
dvb-core [media] dvb_frontend: print a msg if a property doesn't exist 2013-01-23 19:10:57 -02:00
dvb-frontends [media] stv0900: remove unnecessary null pointer check 2013-02-08 18:05:48 -02:00
firewire
i2c [media] tveeprom: move from media/i2c to media/common 2013-02-08 16:12:29 -02:00
mmc
parport [media] bw-qcam: remove unnecessary qc_reset and qc_setscanmode calls 2013-02-05 18:20:38 -02:00
pci [media] btcx-risc: move from media/i2c to media/common 2013-02-08 16:11:25 -02:00
platform [media] s5p-tv: Include missing platform_device.h header 2013-02-08 17:29:22 -02:00
radio [media] radio-miropcm20: fix signal and stereo indication 2013-02-05 18:17:03 -02:00
rc [media] redrat3: fix transmit return value and overrun 2013-02-08 14:18:16 -02:00
tuners [media] fc0011: Return early, if the frequency is already tuned 2013-02-08 17:51:36 -02:00
usb [media] em28xx: fix analog streaming with USB bulk transfers 2013-02-11 18:17:44 -02:00
v4l2-core [media] v4l2-core: do not enable the buffer ioctls for radio devices 2013-02-06 13:15:59 -02:00
Kconfig
Makefile
media-device.c
media-devnode.c
media-entity.c