OpenCloudOS-Kernel/drivers/media/usb/em28xx
Brad Love c7c7e8d780 media: em28xx: USB bulk packet size fix
Hauppauge em28xx bulk devices exhibit continuity errors and corrupted
packets, when run in VMWare virtual machines. Unknown if other
manufacturers bulk models exhibit the same issue. KVM/Qemu is unaffected.

According to documentation the maximum packet multiplier for em28xx in bulk
transfer mode is 256 * 188 bytes. This changes the size of bulk transfers
to maximum supported value and have a bonus beneficial alignment.

Before:

After:

This sets up USB to expect just as many bytes as the em28xx is set to emit.

Successful usage under load afterwards natively and in both VMWare
and KVM/Qemu virtual machines.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Reviewed-by: Michael Ira Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-06 04:33:22 -05:00
..
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00
em28xx-audio.c media: em28xx: calculate left volume level correctly 2017-08-26 14:31:49 -04:00
em28xx-camera.c [media] em28xx: shed some light on video input formats 2017-04-17 17:32:44 -03:00
em28xx-cards.c media: em28xx: constify a new function 2018-03-06 04:30:22 -05:00
em28xx-core.c media: em28xx: Bulk transfer implementation fix 2018-03-06 04:32:13 -05:00
em28xx-dvb.c media: em28xx: Hauppauge DualHD second tuner functionality 2018-03-06 04:19:38 -05:00
em28xx-i2c.c media: em28xx: use %*phC to print small buffers 2018-02-26 08:13:37 -05:00
em28xx-input.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
em28xx-reg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
em28xx-v4l.h media: au0828/em28xx: make vb2_ops const 2017-10-27 14:13:33 +02:00
em28xx-vbi.c media: au0828/em28xx: make vb2_ops const 2017-10-27 14:13:33 +02:00
em28xx-video.c media: convert g/s_parm to g/s_frame_interval in subdevs 2018-02-22 12:27:35 -05:00
em28xx.h media: em28xx: USB bulk packet size fix 2018-03-06 04:33:22 -05:00