summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-07-17 16:48:27 +0200
committerTakashi Iwai <tiwai@suse.de>2012-07-17 16:55:56 +0200
commitf46c329644b1f7144d336fce037dd9f84ee1995f (patch)
treebee07bb6db8cb77a1093bac2d07fa36d478d0e7d /sound/pci/hda/patch_realtek.c
parent7ae48b56f8d9c836259bc02f3e2ea4962d6b5d1b (diff)
downloadlinux-f46c329644b1f7144d336fce037dd9f84ee1995f.tar.bz2
ALSA: hda - Fix index number conflicts of phantom jacks
Since some jack controls may be renamed as phantom jacks, the existing check for index conflicts doesn't work because it simply compares the name with the last used name, assuming that the controls with the same name continue. Thus, it would result in the duplicated controls when two or more phantom jacks with the very same type exist, and the driver gives up with an error. This patch fixes the problem by checking the index number conflicts more intensively (but dumbly). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions