From: Peter Ujfalusi Date: Thu, 4 Feb 2010 07:10:10 +0000 (+0200) Subject: ASoC: TWL4030: Module unloading fix X-Git-Tag: v2.6.34-rc1~243^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb67286d6629ecb5bfc44071d664cf1cbd01a350;p=pandora-kernel.git ASoC: TWL4030: Module unloading fix The module unloading path had several problems: - it freed up the private structure twice - it freed up the codec structure, which was allocated as part of the private structure - it did not freed up the reg_cache - it did not unregistered the dais and the codec Signed-off-by: Peter Ujfalusi Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed