提交 183a444a 编写于 作者: T Takashi Iwai

ALSA: hda/realtek - Don't change connection at path deactivation

The widget connection selection must be changed only when the path is
enabled.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 829f69ea
......@@ -3969,7 +3969,7 @@ static void activate_path(struct hda_codec *codec, struct nid_path *path,
path->active = false;
for (i = path->depth - 1; i >= 0; i--) {
if (path->multi[i])
if (enable && path->multi[i])
snd_hda_codec_write_cache(codec, path->path[i], 0,
AC_VERB_SET_CONNECT_SEL,
path->idx[i]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册