]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f30f0913e62a00b020eced756590a60c6f477ba
treebd50875f5748eb97043190ac40a8b87c2db88808
parentf1c99c09886fa70a2fcc86cd5873c07afdcdee8c
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