aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 579b3281783..d106ea52a90 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -3717,6 +3717,9 @@ static void stac92xx_free(struct hda_codec *codec)
if (! spec)
return;
+ if (spec->jack)
+ snd_device_free(codec->bus->card, spec->jack);
+
if (spec->bios_pin_configs)
kfree(spec->bios_pin_configs);