projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
[linux-flexiantxendom0-3.2.10.git]
/
sound
/
soc
/
omap
/
omap-pcm.c
diff --git
a/sound/soc/omap/omap-pcm.c
b/sound/soc/omap/omap-pcm.c
index
a59bd35
..
5a649da
100644
(file)
--- a/
sound/soc/omap/omap-pcm.c
+++ b/
sound/soc/omap/omap-pcm.c
@@
-401,6
+401,10
@@
static int omap_pcm_new(struct snd_soc_pcm_runtime *rtd)
}
out:
+ /* free preallocated buffers in case of error */
+ if (ret)
+ omap_pcm_free_dma_buffers(pcm);
+
return ret;
}