git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sound: sgio2audio/pdaudiocf/usb-audio: initialize PCM buffer
[pandora-kernel.git]
/
sound
/
mips
/
sgio2audio.c
diff --git
a/sound/mips/sgio2audio.c
b/sound/mips/sgio2audio.c
index
8691f4c
..
f1d9d16
100644
(file)
--- a/
sound/mips/sgio2audio.c
+++ b/
sound/mips/sgio2audio.c
@@
-609,7
+609,7
@@
static int snd_sgio2audio_pcm_hw_params(struct snd_pcm_substream *substream,
/* alloc virtual 'dma' area */
if (runtime->dma_area)
vfree(runtime->dma_area);
- runtime->dma_area = vmalloc(size);
+ runtime->dma_area = vmalloc
_user
(size);
if (runtime->dma_area == NULL)
return -ENOMEM;
runtime->dma_bytes = size;