aboutsummaryrefslogtreecommitdiff
path: root/sound/mips/sgio2audio.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-12-21 12:05:40 +0100
committerTakashi Iwai <tiwai@suse.de>2009-12-21 12:05:40 +0100
commit1f26cb92a28541da1c9b27571e40b08333595773 (patch)
tree90e9c7f7fe9bdccc6cd356afcf3977af256c9a21 /sound/mips/sgio2audio.c
parent2c3b9b50db5fe8d6039dfdfc44202fcd49eb9d00 (diff)
parentdb8cf334f66bdf1ba2b3d2f7128095fc9b7a6e2b (diff)
Merge branch 'fix/misc' into for-linus
Diffstat (limited to 'sound/mips/sgio2audio.c')
-rw-r--r--sound/mips/sgio2audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mips/sgio2audio.c b/sound/mips/sgio2audio.c
index 8691f4cf619..f1d9d16b548 100644
--- 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;