]> 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)
commit6c427ea095b7bd77582fa0d13b510e93d56df9ef
tree9bdeb9139e37c8c3f95413fada7ed6f7a79c5fa7
parentfdd236367aeb26c654e5a514f81cea025f241851
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