diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-23 16:18:42 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-28 07:21:27 +0100 |
commit | d8131e67f08bc15e54104cb69deb06bad9d87f30 (patch) | |
tree | 612f830a3ea36af5c3bb2249aa5e2d779dbaaa2e /sound/usb/line6/capture.h | |
parent | ad0119abe29fe3d506486a789de4c4619fa7602c (diff) | |
download | blackbird-obmc-linux-d8131e67f08bc15e54104cb69deb06bad9d87f30.tar.gz blackbird-obmc-linux-d8131e67f08bc15e54104cb69deb06bad9d87f30.zip |
ALSA: line6: Consolidate URB unlink and sync helpers
The codes to unlink and sync URBs are identical for both playback and
capture streams. Consolidate to single helper functions.
Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/capture.h')
-rw-r--r-- | sound/usb/line6/capture.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/usb/line6/capture.h b/sound/usb/line6/capture.h index 0939f400a405..3cc71bc70b21 100644 --- a/sound/usb/line6/capture.h +++ b/sound/usb/line6/capture.h @@ -26,10 +26,6 @@ extern void line6_capture_check_period(struct snd_line6_pcm *line6pcm, extern int line6_create_audio_in_urbs(struct snd_line6_pcm *line6pcm); extern void line6_free_capture_buffer(struct snd_line6_pcm *line6pcm); extern int line6_submit_audio_in_all_urbs(struct snd_line6_pcm *line6pcm); -extern void line6_unlink_audio_in_urbs(struct snd_line6_pcm *line6pcm); -extern void line6_unlink_wait_clear_audio_in_urbs(struct snd_line6_pcm - *line6pcm); -extern void line6_wait_clear_audio_in_urbs(struct snd_line6_pcm *line6pcm); extern int snd_line6_capture_trigger(struct snd_line6_pcm *line6pcm, int cmd); #endif |