From: Jarkko Nikula Date: Wed, 26 Jan 2011 14:39:37 +0000 (+0200) Subject: ASoC: Fix module refcount for auxiliary devices X-Git-Tag: v2.6.38-rc4~14^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c73e0c83f512012e7c357e516a0d7c0a832bfa34;p=pandora-kernel.git ASoC: Fix module refcount for auxiliary devices Commit f6c2ed5 "ASoC: Fix the device references to codec and platform drivers" moved codec driver refcount increments from soc_bind_dai_link into soc_probe_codec. However, the commit didn't remove try_module_get from soc_probe_aux_dev so the auxiliary device reference counts are incremented twice as the soc_probe_codec is called from soc_probe_aux_dev too. Signed-off-by: Jarkko Nikula Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed