From: Axel Lin Date: Tue, 7 Dec 2010 08:12:29 +0000 (+0800) Subject: ASoC: Fix snd_soc_instantiate_card error path X-Git-Tag: v2.6.38-rc1~236^2^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3ed78535c5af8c1d25ed7eaaea7557698843a1;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed