aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-12-07 11:14:20 -0500
committerTakashi Iwai <tiwai@suse.de>2011-12-07 11:32:24 -0500
commitfbabc24619f7298626265a3f973786b471b8c29d (patch)
tree5009a0762998a71d8ba5ce78a29c5c86bd65502f /sound/pci
parent766ddee68bf1e4cc2cdcf73b34d243cf6e6f8ab0 (diff)
ALSA: hda/realtek - Create "Bass Speaker" for two speaker pins
On systems with two speaker pins, the secondary speaker pin is mostly assigned to a bass speaker instead of a surround. Thus it makes more sense to rename the control properly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 96f5da9db5cf..214d4f91d6af 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -2631,6 +2631,8 @@ static const char *alc_get_line_out_pfx(struct alc_spec *spec, int ch,
2631 case AUTO_PIN_SPEAKER_OUT: 2631 case AUTO_PIN_SPEAKER_OUT:
2632 if (cfg->line_outs == 1) 2632 if (cfg->line_outs == 1)
2633 return "Speaker"; 2633 return "Speaker";
2634 if (cfg->line_outs == 2)
2635 return ch ? "Bass Speaker" : "Speaker";
2634 break; 2636 break;
2635 case AUTO_PIN_HP_OUT: 2637 case AUTO_PIN_HP_OUT:
2636 /* for multi-io case, only the primary out */ 2638 /* for multi-io case, only the primary out */