]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix capture source selection in patch_via.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Jul 2009 16:18:59 +0000 (18:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Jul 2009 16:20:23 +0000 (18:20 +0200)
commit684308eb9e863a072090e8cbaefbb8585eaddeec
tree8cc097ca994c244e2af61f31666dbba0f9a2dfde
parent649d51604ab1129b64271fda8bad5c455f6ac17f
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: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c