Skip to content

em28xx: use common urb data copying function for vbi and non-vbi data streams

Frank Schäfer linux-media 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6em28xx: fix video data start position calculation in em28xx_urb_data_copy_vbi()drivers/media/usb/em28xx/em28xx-video.c+2 -180 replies
2/6em28xx: make sure the packet size is >= 4 before checking for headers in em28xx_urb_data_copy_vbi()drivers/media/usb/em28xx/em28xx-video.c+24 -210 replies
3/6em28xx: fix capture type setting in em28xx_urb_data_copy_vbi()drivers/media/usb/em28xx/em28xx-video.c+2 -00 replies
4/6em28xx: fix/improve frame field handling in em28xx_urb_data_copy_vbi()drivers/media/usb/em28xx/em28xx-video.c drivers/media/usb/em28xx/em28xx.h+9 -170 replies
5/6em28xx: em28xx_urb_data_copy_vbi(): calculate vbi_size only if neededdrivers/media/usb/em28xx/em28xx-video.c+2 -30 replies
6/6em28xx: use common urb data copying function for vbi and non-vbi data streamsdrivers/media/usb/em28xx/em28xx-video.c drivers/media/usb/em28xx/em28xx.h+9 -1250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] em28xx: use common urb data copying function for vbi and non-vbi data streams

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(-)

Signature · 1 line
1.7.10.4