]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix "PCM" name being used on one DAC when there are two DACs
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 16 Oct 2014 13:33:45 +0000 (15:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2014 11:37:50 +0000 (13:37 +0200)
commitdf8cf7797185bc648a4d08c0fdbfabc0853608e9
tree90f53699d3a5ef3d513c18ef1b92c950eeaec2ed
parente0a941c1ecbb641a34e3d51aed61b950fe2aa3f3
ALSA: hda - Fix "PCM" name being used on one DAC when there are two DACs

In the scenario where there is one "Line Out", one "Speaker" and one
"Headphone", and there are only two DACs, two outputs will share a DAC.
Currently any mixer on such a DAC will get the "PCM" name, which is
misleading. Instead use "Headphone+LO" or "Speaker+LO" to better
specify what the volume actually controls.

[fixed missing slave string additions by tiwai]

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c