ALSA: line6: Consolidate URB unlink and sync helpers
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Jan 2015 15:18:42 +0000 (16:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:21:27 +0000 (07:21 +0100)
commitd8131e67f08bc15e54104cb69deb06bad9d87f30
tree612f830a3ea36af5c3bb2249aa5e2d779dbaaa2e
parentad0119abe29fe3d506486a789de4c4619fa7602c
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>
sound/usb/line6/capture.c
sound/usb/line6/capture.h
sound/usb/line6/pcm.c
sound/usb/line6/playback.c
sound/usb/line6/playback.h