]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/pci/hda/patch_realtek.c
ALSA: HDA: Fix volume control naming for surround speakers on Realtek auto-parser
[karo-tx-linux.git] / sound / pci / hda / patch_realtek.c
index b4a22dd775a22ae21e64912ac3592e953f960efd..6f59bccb104c18959c076ee1418af50ae925e7b4 100644 (file)
@@ -5080,7 +5080,9 @@ static const char *alc_get_line_out_pfx(const struct auto_pin_cfg *cfg,
 
        switch (cfg->line_out_type) {
        case AUTO_PIN_SPEAKER_OUT:
-               return "Speaker";
+               if (cfg->line_outs == 1)
+                       return "Speaker";
+               break;
        case AUTO_PIN_HP_OUT:
                return "Headphone";
        default: