Skip to content
Commit 337b9d02 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix capture source selection in patch_via.c



The fixed widget NIDs in patch_via.c seem wrong for some codecs,
and it resulted in the invalid capture source selection.

This patch adds the code to parse the topology instead of using
fixed numbers in order to get the right MUX widget id corresponding
to the ADCs.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d3a11e60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment