summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-04 14:09:42 (GMT)
committerTakashi Iwai <tiwai@suse.de>2013-01-12 07:43:38 (GMT)
commit2430d7b78ba161656a621279964421aa06e04b02 (patch)
tree8e5dff7d708cd43b707c999b39c12691fa29f055 /sound/pci/hda/hda_generic.h
parent196c17668056ed5226070d06878242c116dfece2 (diff)
downloadlinux-2430d7b78ba161656a621279964421aa06e04b02.tar.xz
ALSA: hda - Initialize digital-input path properly
Call the path activation for the digital input pin properly, not only setting the pin control. Also add spec->digin_path for keeping the path index. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r--sound/pci/hda/hda_generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
index 71d409f..ba8de12 100644
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -136,6 +136,7 @@ struct hda_gen_spec {
int speaker_paths[AUTO_CFG_MAX_OUTS];
int digout_paths[AUTO_CFG_MAX_OUTS];
int loopback_paths[HDA_MAX_NUM_INPUTS];
+ int digin_path;
/* auto-mic stuff */
int am_num_entries;