ALSA: hda - fix wrong adc_idx in generic parser
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 16 Jan 2013 10:45:36 +0000 (11:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Jan 2013 10:56:50 +0000 (11:56 +0100)
commita053d1e3c43e39109e640d1516669aeb8ce0b60b
treeabfbdd97d6e980596d443f02584e690b6958b02d
parentb56fa1ed09615f148271045d220b1c55580bdfc9
ALSA: hda - fix wrong adc_idx in generic parser

We use knew->index for adc_idx when we create "Capture Volume" and
"Capture Switch", so use the same to retrieve adc_idx.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c