]> git.karo-electronics.de Git - mv-sheeva.git/commit
ALSA: hda/via - Don't create duplicated boost controls
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Feb 2012 11:26:38 +0000 (12:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Feb 2012 11:28:44 +0000 (12:28 +0100)
commit8d8bbc6f17b2a28c58de804064dbdab036d4318e
treebc842e88c063c460172574daff1a1716043e62a0
parent070cff4cfd267b9d266f4f8362ea99532234eb21
ALSA: hda/via - Don't create duplicated boost controls

The driver may create duplicated mic boost controls when there are
multiple mics with the very same type / location, and this leads to
the error at actual kcontrol creation.  It needs to check the validity
of the created control and add a proper index if it's duplicated.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c