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
/
pcmcia
/
pdaudiocf
/
pdaudiocf_pcm.c
diff --git
a/sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
b/sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
index
d057e64
..
5cfa608
100644
(file)
--- a/
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
+++ b/
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
@@
-51,7
+51,7
@@
static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, size_t s
return 0; /* already enough large */
vfree(runtime->dma_area);
}
- runtime->dma_area = vmalloc_32(size);
+ runtime->dma_area = vmalloc_32
_user
(size);
if (! runtime->dma_area)
return -ENOMEM;
runtime->dma_bytes = size;