Skip to content

Commit 9ebaef0

Browse files
jason77-wangtiwai
authored andcommitted
ALSA: hda/realtek: the bass speaker can't output sound on Yoga 9i
The Lenovo Yoga 9i has bass speaker, but the bass speaker can't work, that is because there is an i2s amplifier on that speaker, need to run ideapad_s740_coef() to initialize the amplifier. And also needs to apply ALC285_FIXUP_THINKPAD_HEADSET_JACK to rename the speaker's mixer control name, otherwise the PA can't handle them. BugLink: http://bugs.launchpad.net/bugs/1926165 Signed-off-by: Hui Wang <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 119b75c commit 9ebaef0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6566,6 +6566,7 @@ enum {
65666566
ALC295_FIXUP_ASUS_DACS,
65676567
ALC295_FIXUP_HP_OMEN,
65686568
ALC285_FIXUP_HP_SPECTRE_X360,
6569+
ALC287_FIXUP_IDEAPAD_BASS_SPK_AMP,
65696570
};
65706571

65716572
static const struct hda_fixup alc269_fixups[] = {
@@ -8132,6 +8133,12 @@ static const struct hda_fixup alc269_fixups[] = {
81328133
.chained = true,
81338134
.chain_id = ALC285_FIXUP_SPEAKER2_TO_DAC1,
81348135
},
8136+
[ALC287_FIXUP_IDEAPAD_BASS_SPK_AMP] = {
8137+
.type = HDA_FIXUP_FUNC,
8138+
.v.func = alc285_fixup_ideapad_s740_coef,
8139+
.chained = true,
8140+
.chain_id = ALC285_FIXUP_THINKPAD_HEADSET_JACK,
8141+
},
81358142
};
81368143

81378144
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -8500,6 +8507,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
85008507
SND_PCI_QUIRK(0x17aa, 0x3178, "ThinkCentre Station", ALC283_FIXUP_HEADSET_MIC),
85018508
SND_PCI_QUIRK(0x17aa, 0x3818, "Lenovo C940", ALC298_FIXUP_LENOVO_SPK_VOLUME),
85028509
SND_PCI_QUIRK(0x17aa, 0x3827, "Ideapad S740", ALC285_FIXUP_IDEAPAD_S740_COEF),
8510+
SND_PCI_QUIRK(0x17aa, 0x3843, "Yoga 9i", ALC287_FIXUP_IDEAPAD_BASS_SPK_AMP),
85038511
SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
85048512
SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
85058513
SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo B50-70", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
@@ -8715,6 +8723,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
87158723
{.id = ALC245_FIXUP_HP_X360_AMP, .name = "alc245-hp-x360-amp"},
87168724
{.id = ALC295_FIXUP_HP_OMEN, .name = "alc295-hp-omen"},
87178725
{.id = ALC285_FIXUP_HP_SPECTRE_X360, .name = "alc285-hp-spectre-x360"},
8726+
{.id = ALC287_FIXUP_IDEAPAD_BASS_SPK_AMP, .name = "alc287-ideapad-bass-spk-amp"},
87188727
{}
87198728
};
87208729
#define ALC225_STANDARD_PINS \

0 commit comments

Comments
 (0)