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)
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

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge