diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-23 12:44:17 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-30 20:40:43 +0900 |
| commit | 7bcc313186b55f2e9e5a786c40b8c5c589a24d5b (patch) | |
| tree | 6d4eeca9b5f1ec122a2aa9fc2b769293da4b5201 /tools/perf/scripts/python | |
| parent | 0c32b57e77106406c202a1e5e73b985d950db196 (diff) | |
staging: comedi: usbduxsigma: use usbdux_pwm_stop() to force unlink urb
In tidy_up(), instead of duplicating the code in usbdux_pwm_stop() to
unlink the pwm urb, just use usbdux_pwm_stop(). Since that function calls
usb_kill_urb() and clears the 'pwm_cmd_running' flag, we can also remove
the redundant code in tidy_up().
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