Skip to content

Commit b339583

Browse files
committed
Merge branch 'for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc into fix/asoc
2 parents 0641208 + fad9365 commit b339583

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sound/soc/omap/omap-pcm.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,10 @@ static int omap_pcm_new(struct snd_soc_pcm_runtime *rtd)
401401
}
402402

403403
out:
404+
/* free preallocated buffers in case of error */
405+
if (ret)
406+
omap_pcm_free_dma_buffers(pcm);
407+
404408
return ret;
405409
}
406410

0 commit comments

Comments
 (0)