Patches 1-5 prepare function em28xx_urb_data_copy_vbi() to also work with non-vbi video data. Patch 6 finally renames em28xx_urb_data_copy_vbi() and changes to code to use this function for both, vbi and non-vbi video data streams. The changes have been tested with the following devices: - "SilverCrest 1.3 MPix webcam" (progressive, non-vbi) - "Hauppauge HVR-900 (65008/A1C0)" (interlaced, vbi enabled and disabled) This series applies on top of my previous patch series "em28xx: add support fur USB bulk transfers" V2. Frank Schäfer (6): em28xx: fix video data start position calculation in em28xx_urb_data_copy_vbi() em28xx: make sure the packet size is >= 4 before checking for headers in em28xx_urb_data_copy_vbi() em28xx: fix capture type setting in em28xx_urb_data_copy_vbi() em28xx: fix/improve frame field handling in em28xx_urb_data_copy_vbi() em28xx: em28xx_urb_data_copy_vbi(): calculate vbi_size only if needed em28xx: use common urb data copying function for vbi and non-vbi data streams drivers/media/usb/em28xx/em28xx-video.c | 224 ++++++------------------------- drivers/media/usb/em28xx/em28xx.h | 4 +- 2 Dateien geändert, 46 Zeilen hinzugefügt(+), 182 Zeilen entfernt(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html