diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-10 18:09:45 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-10 18:09:45 +0100 |
commit | 8a02c0cc4a5915e01bf19ef030166567713d0eb7 (patch) | |
tree | 49dadb7b6722e84962c079542acae0a877e4c486 /sound/pci/hda/hda_generic.c | |
parent | 8eeaa2f9e06dcfb45593a0fcd91e81abc7f5d209 (diff) |
ALSA: hda - Move HDA_FIXUP_ACT_FREE call in snd_hda_gen_free()
Now Realtek and Conexant codec parsers just call snd_hda_gen_free().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
-rw-r--r-- | sound/pci/hda/hda_generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 437ef13c5a90..0c90eba6ba3d 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -5350,6 +5350,7 @@ EXPORT_SYMBOL_GPL(snd_hda_gen_init); */ void snd_hda_gen_free(struct hda_codec *codec) { + snd_hda_apply_fixup(codec, HDA_FIXUP_ACT_FREE); snd_hda_detach_beep_device(codec); snd_hda_gen_spec_free(codec->spec); kfree(codec->spec); |