ALSA: line6: Consolidate PCM stream buffer allocation and free
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 Jan 2015 15:25:03 +0000 (16:25 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:21:39 +0000 (07:21 +0100)
commite90576c5955c83cd7e8c191b47f70d1946015041
treead2fe83b3cf4f2da9ab89bb44c81d66fb37a5a5b
parentccaac9ed79c6051733f781a1cd639d488696f512
ALSA: line6: Consolidate PCM stream buffer allocation and free

The PCM stream buffer allocation and free are identical for both
playback and capture streams.  Provide single helper functions.
These are used only in pcm.c, thus they can be even static.

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