diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-23 12:46:40 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-30 20:40:46 +0900 |
| commit | de0a1e971f86e529bd0e1d6f3ac33bbc9830272f (patch) | |
| tree | 8723e69d1fdcf62a2b371e3a3b1f2a8ad4eb6672 /tools/perf/scripts/python | |
| parent | 91fe97f3a34f4c13993655c241a4edc90216e74f (diff) | |
staging: comedi: usbduxsigma: generalize the usb_submit_urb functions
Generalize a helper function to replace usbduxsub_submit_{In,Out}URBs().
In the callers, set the 'a[io]_cmd_running' flag after the urbs have been
successfully submitted. This removes the need to clear the flag if the
submit fails.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions