summaryrefslogtreecommitdiff
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
parentf03293d8fc97f07dbe4c54ce495c8dac172dc6e1 (diff)
parent43f6c8d97bbdc05858b3d64e4c683821ce46c2db (diff)
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++;