]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8cba9c81083128589fc596fcba4e25dbbfbd93c3
treead2fe83b3cf4f2da9ab89bb44c81d66fb37a5a5b
parent28c7b48a1e4295c45e6da2a8cf23d251ec67bf9d
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