From: Guennadi Liakhovetski Date: Thu, 18 Mar 2010 07:23:33 +0000 (+0100) Subject: ASoC: remove a card from the list, if instantiation failed X-Git-Tag: v2.6.35-rc1~478^2^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2dfa62c525fbe4d89790b6fa90af7c3f1c052ae;p=pandora-kernel.git ASoC: remove a card from the list, if instantiation failed If instantiation of a card failed, we still have to remove it from the card list on unregistration. This fixes an Oops on Migo-R, triggering, when after a failed firmware load attempt the driver modules are removed and re-inserted again. Signed-off-by: Guennadi Liakhovetski Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed