]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sound: pcm: add vmalloc buffer helper functions
authorClemens Ladisch <clemens@ladisch.de>
Fri, 18 Dec 2009 08:29:00 +0000 (09:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Dec 2009 11:54:01 +0000 (12:54 +0100)
commit681b84e17747e1c208e8e1acc54cc5e612da84d1
treef82316d8038b17711bdfbfb4e9ea7f2d76b5a9fc
parent14d44e2c2cb2ef3c88c5090a2d419772e15e7a16
sound: pcm: add vmalloc buffer helper functions

There are now five copies of the code to allocate a PCM buffer using
vmalloc().  Add a sixth in the core so that the others can be removed.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_memory.c