summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-06-28 16:42:50 +0200
committerTakashi Iwai <tiwai@suse.de>2017-06-28 16:42:50 +0200
commit4032da5ffe266fc781a15bd7b24295c433002ab5 (patch)
treebd92a7153328b25dae2e153854ea8cf4c3fb23b5 /sound/pci/hda/hda_generic.c
parentALSA: Fix forgotten dependency fix for tristate OSS sequencer kconfig (diff)
parentALSA: hda - Minor code refactoring for Intel HDMI codec parsers (diff)
downloadlinux-4032da5ffe266fc781a15bd7b24295c433002ab5.tar.xz
linux-4032da5ffe266fc781a15bd7b24295c433002ab5.zip
Merge branch 'topic/hda-fix' into for-next
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
-rw-r--r--sound/pci/hda/hda_generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 557ecfcad158..28e265a88383 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -3216,6 +3216,7 @@ static int check_dyn_adc_switch(struct hda_codec *codec)
spec->input_paths[i][nums]);
spec->input_paths[i][nums] =
spec->input_paths[i][n];
+ spec->input_paths[i][n] = 0;
}
}
nums++;