ALSA: HDA: Fix volume control indices for Mics (Realtek)
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 5 Jan 2011 10:03:56 +0000 (11:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Jan 2011 09:57:24 +0000 (10:57 +0100)
commit5322bf2790fb91328aac1783bb1963ea3a172bcf
treebd50875f5748eb97043190ac40a8b87c2db88808
parent5f99f86a801f937ed51deedc36ad4efc47d95cdd
ALSA: HDA: Fix volume control indices for Mics (Realtek)

If more than one mic is present with different locations,
e g "Front Mic" and "Rear Mic", they can use the same index (0),
since their names are different.

Previous behavior was to have "Front Mic" as index 1, causing it
to be ignored by e g PulseAudio.

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