]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - avoid unneccesary indices on "Headphone Jack" controls
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 3 Oct 2012 09:12:53 +0000 (11:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 6 Oct 2012 14:51:09 +0000 (16:51 +0200)
commit1c8ebd76fcc28f0db7899f7b24d33c1afb7924d2
tree536c409ba2805268425332fb5599ae29e2d3e007
parent92c1f291b255f2275ae1e48310eb853a34d4ffad
ALSA: hda - avoid unneccesary indices on "Headphone Jack" controls

In case there is one "Headphone Jack" and one "Dock Headphone Jack",
one of them will get an index, even though that is not needed.
This patch fixes that issue.

BugLink: https://bugs.launchpad.net/bugs/1060729
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c