ASoC: AMD: free memory on error
Static checkers complain if we don't free "adata" before returning. Fixes: 7c31335a ('ASoC: AMD: add AMD ASoC ACP 2.x DMA driver') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录