Commit ebaa0470 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Release jack instance for dynamic reconfigure

The jack instance has to be release manually in free callback
in patch_sigmatel.c for dynamic reconfiguration.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent dd125b28
...@@ -3717,6 +3717,9 @@ static void stac92xx_free(struct hda_codec *codec) ...@@ -3717,6 +3717,9 @@ static void stac92xx_free(struct hda_codec *codec)
if (! spec) if (! spec)
return; return;
if (spec->jack)
snd_device_free(codec->bus->card, spec->jack);
if (spec->bios_pin_configs) if (spec->bios_pin_configs)
kfree(spec->bios_pin_configs); kfree(spec->bios_pin_configs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment