Commit ca29683b authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Exclude aamix from capture paths

The capture paths shouldn't contain the analog loopback mixer.
Pass a proper argument to exclude the aamix NID.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d12daf6f
...@@ -2110,13 +2110,9 @@ static int create_input_ctls(struct hda_codec *codec) ...@@ -2110,13 +2110,9 @@ static int create_input_ctls(struct hda_codec *codec)
if (!is_reachable_path(codec, pin, adc)) if (!is_reachable_path(codec, pin, adc))
continue; continue;
path = snd_hda_add_new_path(codec, pin, adc, 0); path = snd_hda_add_new_path(codec, pin, adc, -mixer);
if (!path) { if (!path)
snd_printd(KERN_ERR
"invalid input path 0x%x -> 0x%x\n",
pin, adc);
continue; continue;
}
print_nid_path("input", path); print_nid_path("input", path);
spec->input_paths[imux_idx][c] = spec->input_paths[imux_idx][c] =
snd_hda_get_path_idx(codec, path); snd_hda_get_path_idx(codec, path);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment