ALSA: hda/realtek - Fix missing volume controls with ALC260
authorTakashi Iwai <tiwai@suse.de>
Thu, 27 Oct 2011 14:33:27 +0000 (16:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 27 Oct 2011 14:58:00 +0000 (16:58 +0200)
commit527e4d73af16dfc35a770dfdc3874ef63c359ea6
tree2b0b601f2a9b7836f8377eceb9324f81c56313a3
parent5cdf745ebae0f5bcf9b798d8fd5cb57add592cc1
ALSA: hda/realtek - Fix missing volume controls with ALC260

ALC260 has multiple mixer widgets connected to the shared DAC, but the
driver currently doesn't check this possibility and ignores when the DAC
is shared with others.  This resulted in the silent output from some
routes because of lack of the amp setup.

This patch adds the workaround for it by checking the route even with the
shared DAC, but also checking the conflict with the existing control for
the very same widget NID.

Reference: https://bugzilla.novell.com/show_bug.cgi?id=726812

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