aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_realtek.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b4a22dd775a2..6f59bccb104c 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5080,7 +5080,9 @@ static const char *alc_get_line_out_pfx(const struct auto_pin_cfg *cfg,
5080 5080
5081 switch (cfg->line_out_type) { 5081 switch (cfg->line_out_type) {
5082 case AUTO_PIN_SPEAKER_OUT: 5082 case AUTO_PIN_SPEAKER_OUT:
5083 return "Speaker"; 5083 if (cfg->line_outs == 1)
5084 return "Speaker";
5085 break;
5084 case AUTO_PIN_HP_OUT: 5086 case AUTO_PIN_HP_OUT:
5085 return "Headphone"; 5087 return "Headphone";
5086 default: 5088 default: