aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/line6/capture.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-23 16:18:42 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-28 07:21:27 +0100
commitd8131e67f08bc15e54104cb69deb06bad9d87f30 (patch)
tree612f830a3ea36af5c3bb2249aa5e2d779dbaaa2e /sound/usb/line6/capture.h
parentALSA: line6: Rearrange PCM structure (diff)
downloadlinux-dev-d8131e67f08bc15e54104cb69deb06bad9d87f30.tar.xz
linux-dev-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.h4
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