From: Frank Schaefer Date: Sat, 8 Dec 2012 14:31:30 +0000 (-0300) Subject: [media] em28xx: em28xx_urb_data_copy(): move duplicate code for capture_type=0 and... X-Git-Tag: v3.9-rc1~93^2~412 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04c00d985c62a6e1cc6c8048308f3216442f708;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed