Searched hist:e04c00d9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | e04c00d9 Sat Dec 08 08:31:30 CST 2012 Frank Schaefer <fschaefer.oss@googlemail.com> [media] em28xx: em28xx_urb_data_copy(): move duplicate code for capture_type=0 and capture_type=2 to a function
Reduce code duplication by moving the duplicate code for dev->capture_type=0 (vbi start) and dev->capture_type=2 (video start) to a function. The same function will also be called by the (not yet existing) em25xx frame data processing code.
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> e04c00d9 Sat Dec 08 08:31:30 CST 2012 Frank Schaefer <fschaefer.oss@googlemail.com> [media] em28xx: em28xx_urb_data_copy(): move duplicate code for capture_type=0 and capture_type=2 to a function Reduce code duplication by moving the duplicate code for dev->capture_type=0 (vbi start) and dev->capture_type=2 (video start) to a function. The same function will also be called by the (not yet existing) em25xx frame data processing code. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|