diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-12-17 18:00:02 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 08:30:20 +0100 |
commit | 183a444a6d7e601ddfaba4a40304e020ba1f565c (patch) | |
tree | 49f905f2fae1c00c7a47b423dec1a04f9ec5ab81 | |
parent | 829f69ea590613c7a8b4b053266265947541b3f9 (diff) | |
download | linux-183a444a6d7e601ddfaba4a40304e020ba1f565c.tar.bz2 |
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: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
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, 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]); |