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)
commiteee3ed43a6e5aedf146027047c11eb92a27ee9ed
tree536c409ba2805268425332fb5599ae29e2d3e007
parent74d3e69728a0dcee8cd0f93da4dc077431d59606
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