diff options
| author | Tomas Winkler <tomas.winkler@intel.com> | 2011-11-09 08:26:37 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-24 19:16:22 -0200 |
| commit | 8b1fad2f046fb825046fee3a41885a70123de988 (patch) | |
| tree | cbd13524a17376af1b62f0c3d94d95018f6b746d /tools/perf/scripts/python/sctop.py | |
| parent | 7dfdae8e32a26ef3b3aa8d114d2fed93d7680169 (diff) | |
[media] easycap: use usb_kill_urb wrapper functions
1. kill_video_usb can be used in all places where video urbs are killed
and reduce code repetition
2. remove unnecessary check for easycap == NULL in the function
as it is always checked by the calling function
3. rename the function to easycap_video_kill_urb to reduce
possibility of name conflict
4. implement also easycap_audio_kill_urb
5. simplify freeing urbs
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
