Skip to content

Commit e9e7183

Browse files
committed
Merge branch 'fix/asoc' into for-linus
2 parents 20c7694 + b339583 commit e9e7183

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)