]> git.baikalelectronics.ru Git - kernel.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)
commitb04e291483d0caf5ddf6aa8b22ba5716effa891d
tree7929285c861f5e9ee635f5a2a0a53756c5a0951e
parent6794504e1603f1fb0e0c1efabd6f0d53813b716b
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