aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorFrank Schaefer <[email protected]>2012-12-08 11:31:31 -0300
committerMauro Carvalho Chehab <[email protected]>2012-12-22 20:57:17 -0200
commit227b7c90671624e0d143e324a3015726282981df (patch)
treeb0d88cf25c16adeb45441575b614398aadb3145e /tools/perf/scripts/python/netdev-times.py
parente04c00d985c62a6e1cc6c8048308f3216442f708 (diff)
[media] em28xx: move the em2710/em2750/em28xx specific frame data processing code to a separate function
em28xx_urb_data_copy() actually consists of two parts: USB urb processing (checks, data extraction) and frame data packet processing. Move the latter to a separate function and call it from em28xx_urb_data_copy() for each data packet. The em25xx, em2760, em2765 (and likely em277x) chip variants are using a different frame data format, for which support will be added later with another function. This reduces the size of em28xx_urb_data_copy() and makes the code much more readable. While we're at it, clean up the code a bit (rename some variables to something more meaningful, improve some comments etc.) Signed-off-by: Frank Schäfer <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions