]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: hda - Fix conflicting volume controls on ALC260
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Oct 2008 15:01:47 +0000 (17:01 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Oct 2008 15:01:47 +0000 (17:01 +0200)
commit863b45180ef541a1990e4986d30fb7a93022a733
tree7929285c861f5e9ee635f5a2a0a53756c5a0951e
parentec4e86ba0662ed85f3b3a38fb220dc51d951da84
ALSA: hda - Fix conflicting volume controls on ALC260

ALC260 auto-parsing mode may create multiple controls for the same volume
widget (0x08 and 0x09) depending on the pin.  For example, Front and
Headphone volumes may control the same volume, just the latter one wins.

This patch adds a proper check of the existing of the volume control
and avoid the doulbed creation of the same volume controls.

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