Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22730
b: refs/heads/master
c: 9c4be3d
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Jaroslav Kysela committed Mar 22, 2006
1 parent f279382 commit 9471942
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dbc967760b075aef3b181deda6639d73bbd0ad07
refs/heads/master: 9c4be3d334808d1dedea7db0ae84759bfac8e18e
7 changes: 3 additions & 4 deletions trunk/sound/drivers/vx/vx_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,9 @@ static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, size_t s
static int snd_pcm_free_vmalloc_buffer(struct snd_pcm_substream *subs)
{
struct snd_pcm_runtime *runtime = subs->runtime;
if (runtime->dma_area) {
vfree(runtime->dma_area);
runtime->dma_area = NULL;
}

vfree(runtime->dma_area);
runtime->dma_area = NULL;
return 0;
}

Expand Down
7 changes: 3 additions & 4 deletions trunk/sound/usb/usbaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,10 +720,9 @@ static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, size_t s
static int snd_pcm_free_vmalloc_buffer(struct snd_pcm_substream *subs)
{
struct snd_pcm_runtime *runtime = subs->runtime;
if (runtime->dma_area) {
vfree(runtime->dma_area);
runtime->dma_area = NULL;
}

vfree(runtime->dma_area);
runtime->dma_area = NULL;
return 0;
}

Expand Down

0 comments on commit 9471942

Please sign in to comment.