commit | cde6bcd584b1b910d6ee8d6eb968ea5d20815444 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jan 13 15:20:02 2016 +0300 |
committer | Mark Brown <broonie@kernel.org> | Wed Jan 13 12:32:04 2016 +0000 |
tree | 1a34b47bd577f6fe432c487df1386d4a5c997f18 | |
parent | 7cb1dc810935fbf82ad06007dc7fb08d93c1e59f [diff] |
ASoC: AMD: free memory on error Static checkers complain if we don't free "adata" before returning. Fixes: 7c31335a03b6 ('ASoC: AMD: add AMD ASoC ACP 2.x DMA driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>