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)
commit03ad6a8c93b6df2d65c305b5b5f9474068b45bfb
tree90f53699d3a5ef3d513c18ef1b92c950eeaec2ed
parentc8b00fd2f4c504a564adcad5b8bd6952ab850b02
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