aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index d5181b017375..1ec14ac24232 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3969,7 +3969,7 @@ static void activate_path(struct hda_codec *codec, struct nid_path *path,
3969 path->active = false; 3969 path->active = false;
3970 3970
3971 for (i = path->depth - 1; i >= 0; i--) { 3971 for (i = path->depth - 1; i >= 0; i--) {
3972 if (path->multi[i]) 3972 if (enable && path->multi[i])
3973 snd_hda_codec_write_cache(codec, path->path[i], 0, 3973 snd_hda_codec_write_cache(codec, path->path[i], 0,
3974 AC_VERB_SET_CONNECT_SEL, 3974 AC_VERB_SET_CONNECT_SEL,
3975 path->idx[i]); 3975 path->idx[i]);