From: Mika Westerberg Date: Wed, 13 Oct 2010 08:30:31 +0000 (+0300) Subject: ASoC: ac97: don't call snd_soc_new_ac97_codec at probe X-Git-Tag: v2.6.37-rc1~126^2~1^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7750752a22cbf7760f0073d218c737f5a03bff4a;p=pandora-kernel.git ASoC: ac97: don't call snd_soc_new_ac97_codec at probe It is not needed since snd_ac97_mixer() will create a new ac97 object for us. Removing the call also fixes a memory leak since codec->ac97 is set to NULL at the beginning of snd_ac97_mixer(). Signed-off-by: Mika Westerberg Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed