]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix DAC assignment for independent HP
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Mar 2013 16:20:12 +0000 (17:20 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Mar 2013 16:20:12 +0000 (17:20 +0100)
commitc3f6f0ef0e3f2f7b1200fd1978f299e6bb98bb8c
tree9bdeb9139e37c8c3f95413fada7ed6f7a79c5fa7
parent0b2a15a5fd51dc9a3b493a0b8f161d14b18624aa
ALSA: hda - Fix DAC assignment for independent HP

The generic parser should evaluate the availability of the independent
HP when specified.  Otherwise a DAC without the direct connection to
the corresponding pin may be assigned for the HP, but the driver
doesn't check it at all.  The problem was actually seen on some
machines with VT1708s or equivalent codec, where DAC0 is assigned to
HP although it can be connected only via aamix.

This patch adds the badness evaluation for the independent HP to make
it working properly.

Reported-by: Lydia Wang <LydiaWang@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c