Skip to content

Commit ebaa047

Browse files
committed
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: Takashi Iwai <tiwai@suse.de>
1 parent dd125b2 commit ebaa047

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎sound/pci/hda/patch_sigmatel.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3717,6 +3717,9 @@ static void stac92xx_free(struct hda_codec *codec)
37173717
if (! spec)
37183718
return;
37193719

3720+
if (spec->jack)
3721+
snd_device_free(codec->bus->card, spec->jack);
3722+
37203723
if (spec->bios_pin_configs)
37213724
kfree(spec->bios_pin_configs);
37223725

0 commit comments

Comments
 (0)