projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd125b2
)
ALSA: hda - Release jack instance for dynamic reconfigure
author
Takashi Iwai
<tiwai@suse.de>
Thu, 16 Oct 2008 14:39:56 +0000
(16:39 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 16 Oct 2008 14:39:56 +0000
(16:39 +0200)
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>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index 579b328178364d28a791bb05d9a15a230619b3db..d106ea52a90d9f9a8d4541fc1cf08aaeaf2860bb 100644
(file)
--- 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);