commit | 6b3ed78535c5af8c1d25ed7eaaea7557698843a1 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Dec 07 16:12:29 2010 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Dec 07 15:27:14 2010 +0000 |
tree | 7effe0a7676707ab4a76bb65eab971e7836fd925 | |
parent | 0b9a214a606f8c7c7af3e66e7fe0caf3233cfe16 [diff] |
ASoC: Fix snd_soc_instantiate_card error path Properly free the resources in the case of snd_card_register failure and soc_register_ac97_dai_link failure. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>