summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2012-12-08 18:31:30 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-23 02:55:48 +0400
commite04c00d985c62a6e1cc6c8048308f3216442f708 (patch)
tree1051d039bc94453b68e9e5fe9307a2c552781362 /tools/perf/scripts/python
parent4078d625c9610a362f571f7e5ff2521adadfff2b (diff)
downloadlinux-e04c00d985c62a6e1cc6c8048308f3216442f708.tar.xz
[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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions