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:
d12daf6
)
ALSA: hda - Exclude aamix from capture paths
author
Takashi Iwai
<tiwai@suse.de>
Wed, 9 Jan 2013 07:41:41 +0000
(08:41 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 12 Jan 2013 07:44:16 +0000
(08:44 +0100)
The capture paths shouldn't contain the analog loopback mixer.
Pass a proper argument to exclude the aamix NID.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_generic.c
b/sound/pci/hda/hda_generic.c
index b488c62ed97de94f7c8abb82f8f4411c3f9cb9cf..f07b32668f42252f55511852e91002771ded621b 100644
(file)
--- a/
sound/pci/hda/hda_generic.c
+++ b/
sound/pci/hda/hda_generic.c
@@
-2110,13
+2110,9
@@
static int create_input_ctls(struct hda_codec *codec)
if (!is_reachable_path(codec, pin, adc))
continue;
- path = snd_hda_add_new_path(codec, pin, adc, 0);
- if (!path) {
- snd_printd(KERN_ERR
- "invalid input path 0x%x -> 0x%x\n",
- pin, adc);
+ path = snd_hda_add_new_path(codec, pin, adc, -mixer);
+ if (!path)
continue;
- }
print_nid_path("input", path);
spec->input_paths[imux_idx][c] =
snd_hda_get_path_idx(codec, path);