aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8727.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@iki.fi>2010-10-13 11:30:31 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-13 10:35:05 +0100
commit7750752a22cbf7760f0073d218c737f5a03bff4a (patch)
tree21d289204b7059561af5f887df70a86422248b4a /sound/soc/codecs/wm8727.c
parent00545785d7e355b0b1b9fb820ec70cb2ae51b409 (diff)
downloadkernel_samsung_espresso10-7750752a22cbf7760f0073d218c737f5a03bff4a.zip
kernel_samsung_espresso10-7750752a22cbf7760f0073d218c737f5a03bff4a.tar.gz
kernel_samsung_espresso10-7750752a22cbf7760f0073d218c737f5a03bff4a.tar.bz2
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 <mika.westerberg@iki.fi> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8727.c')
0 files changed, 0 insertions, 0 deletions