linux_dsm_epyc7002/drivers/media/usb/em28xx
Frank Schaefer a48370158d [media] em28xx: refactor VBI data processing code in em28xx_urb_data_copy()
When a new frame header is detected in em28xx_urb_data_copy() and the data
packet contains both, VBI data and video data, the prevoius VBI buffer doesn't
get finished and is overwritten with the new VBI data.
This bug is not triggered with isochronous USB transfers, because the data
packetes are much smaller than the VBI data size.
But when using USB bulk transfers, the whole data of an URB is treated as
single packet, which is usually much larger then the VBI data size.
Refactor the VBI data processing code to fix this bug, but also to simplify the
code and make it similar to the video data processing code part (which allows
further code abstraction/unification in the future).
The changes have been tested with device "Hauppauge HVR-900".

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-12-22 20:53:43 -02:00
..
em28xx-audio.c
em28xx-cards.c [media] em28xx: add module parameter for selection of the preferred USB transfer type 2012-12-22 18:20:03 -02:00
em28xx-core.c [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
em28xx-dvb.c [media] em28xx: improve USB endpoint logic, also use bulk transfers 2012-12-22 18:17:52 -02:00
em28xx-i2c.c
em28xx-input.c [media] em28xx: input: fix oops on device removal 2012-12-22 16:14:37 -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: rename struct em28xx_usb_isoc_ctl to em28xx_usb_ctl 2012-12-22 17:56:49 -02:00
em28xx-video.c [media] em28xx: refactor VBI data processing code in em28xx_urb_data_copy() 2012-12-22 20:53:43 -02:00
em28xx.h [media] em28xx: move field 'pos' from struct em28xx_dmaqueue to struct em28xx_buffer 2012-12-22 20:52:28 -02:00
Kconfig em28xx: add two missing tuners at the Kconfig file 2012-12-21 21:14:41 -02:00
Makefile