projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
829f69e
)
ALSA: hda/realtek - Don't change connection at path deactivation
author
Takashi Iwai
<tiwai@suse.de>
Mon, 17 Dec 2012 17:00:02 +0000
(18:00 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 12 Jan 2013 07:30:20 +0000
(08:30 +0100)
The widget connection selection must be changed only when the path is
enabled.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index d5181b01737552ba9080781bc9541986efe95679..1ec14ac24232a87169bb19552937a39d05a86af5 100644
(file)
--- 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]);