summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai2008-07-30 15:01:45 +0200
committerTakashi Iwai2008-10-13 02:43:02 +0200
commit6c1f45ea89b59ad2cdbfa6779e23d77b274da0a7 (patch)
tree7af39036b6bdbcfd09fb36d3c902de011d5090af /sound/pci/hda/hda_codec.h
parentALSA: hda - Manage kcontrol lists (diff)
downloadkernel-qcow2-linux-6c1f45ea89b59ad2cdbfa6779e23d77b274da0a7.tar.gz
kernel-qcow2-linux-6c1f45ea89b59ad2cdbfa6779e23d77b274da0a7.tar.xz
kernel-qcow2-linux-6c1f45ea89b59ad2cdbfa6779e23d77b274da0a7.zip
ALSA: hda - Add codec reconfiguration feature
Added the reconfiguration feature of any individual codec. Via the reconfiguration, the old resources are released and the patch is called again to recreate the PCM and mixers in addition to the re-initialization. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 8813ec10ca13..ce9f69bde328 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -823,6 +823,7 @@ void snd_hda_codec_resume_cache(struct hda_codec *codec);
* Mixer
*/
int snd_hda_build_controls(struct hda_bus *bus);
+int snd_hda_codec_build_controls(struct hda_codec *codec);
/*
* PCM