ALSA: hda - Use "Line Out" name instead of "PCM" when there are other outputs
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 16 Oct 2014 13:33:46 +0000 (15:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2014 11:38:10 +0000 (13:38 +0200)
In case there are speakers or headphones as well, anything that only
covers the line out should not be labelled "PCM". Let's name it
"Line Out" instead for clarity.

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

index dc13cce..06d7210 100644 (file)
@@ -1055,7 +1055,7 @@ static const char *get_line_out_pfx(struct hda_codec *codec, int ch,
 
        /* for a single channel output, we don't have to name the channel */
        if (cfg->line_outs == 1 && !spec->multi_ios)
-               return "PCM";
+               return "Line Out";
 
        if (ch >= ARRAY_SIZE(channel_name)) {
                snd_BUG();