summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-04 15:09:42 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:43:38 +0100
commit2430d7b78ba161656a621279964421aa06e04b02 (patch)
tree8e5dff7d708cd43b707c999b39c12691fa29f055 /sound/pci/hda/hda_generic.h
parentALSA: hda - Manage using output/loopback path indices (diff)
downloadlinux-2430d7b78ba161656a621279964421aa06e04b02.tar.xz
linux-2430d7b78ba161656a621279964421aa06e04b02.zip
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 71d409f5de87..ba8de12b7125 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;