]> 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)
commit2670fadc74f831c3edb1fd2680e969939666f04f
tree536c409ba2805268425332fb5599ae29e2d3e007
parent40df62a20a62e97c6eaac2fac76a9b4cd27476f9
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