]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] usb-audio: use vmalloc for the PCM buffer
authorClemens Ladisch <clemens@ladisch.de>
Mon, 15 Aug 2005 06:35:25 +0000 (08:35 +0200)
committerJaroslav Kysela <perex@suse.cz>
Tue, 30 Aug 2005 06:45:57 +0000 (08:45 +0200)
commit602a49ddbd049e3f3606197f8b767c33413a793a
tree9fcf8208991a35a6bff0361858c94702bf5b4e76
parent7c4d54a68fe2271af303e2bc8e9eb9daa4e43456
[ALSA] usb-audio: use vmalloc for the PCM buffer

USB generic driver
With the double buffering, we no longer need contiguous memory for the
PCM buffer, so we can use vmalloc() instead of the preallocation
functions, and increase the maximum size to 256 KB.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/usb/usbaudio.c