Skip to content

Commit 638e61b

Browse files
tuxedoxtgregkh
authored andcommitted
ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
commit 4178d78 upstream. The Sirius notebooks have two sets of speakers 0x17 (sides) and 0x1d (top center). The side speakers are active by default but the top speakers aren't. This patch provides a pincfg quirk to activate the top speakers. Signed-off-by: Christoffer Sandberg <cs@tuxedo.de> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20240827102540.9480-1-wse@tuxedocomputers.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6c7c519 commit 638e61b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

sound/pci/hda/patch_conexant.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ enum {
311311
CXT_FIXUP_HEADSET_MIC,
312312
CXT_FIXUP_HP_MIC_NO_PRESENCE,
313313
CXT_PINCFG_SWS_JS201D,
314+
CXT_PINCFG_TOP_SPEAKER,
314315
};
315316

316317
/* for hda_fixup_thinkpad_acpi() */
@@ -978,6 +979,13 @@ static const struct hda_fixup cxt_fixups[] = {
978979
.type = HDA_FIXUP_PINS,
979980
.v.pins = cxt_pincfg_sws_js201d,
980981
},
982+
[CXT_PINCFG_TOP_SPEAKER] = {
983+
.type = HDA_FIXUP_PINS,
984+
.v.pins = (const struct hda_pintbl[]) {
985+
{ 0x1d, 0x82170111 },
986+
{ }
987+
},
988+
},
981989
};
982990

983991
static const struct snd_pci_quirk cxt5045_fixups[] = {
@@ -1074,6 +1082,8 @@ static const struct snd_pci_quirk cxt5066_fixups[] = {
10741082
SND_PCI_QUIRK_VENDOR(0x17aa, "Thinkpad", CXT_FIXUP_THINKPAD_ACPI),
10751083
SND_PCI_QUIRK(0x1c06, 0x2011, "Lemote A1004", CXT_PINCFG_LEMOTE_A1004),
10761084
SND_PCI_QUIRK(0x1c06, 0x2012, "Lemote A1205", CXT_PINCFG_LEMOTE_A1205),
1085+
SND_PCI_QUIRK(0x2782, 0x12c3, "Sirius Gen1", CXT_PINCFG_TOP_SPEAKER),
1086+
SND_PCI_QUIRK(0x2782, 0x12c5, "Sirius Gen2", CXT_PINCFG_TOP_SPEAKER),
10771087
{}
10781088
};
10791089

@@ -1093,6 +1103,7 @@ static const struct hda_model_fixup cxt5066_fixup_models[] = {
10931103
{ .id = CXT_FIXUP_HP_MIC_NO_PRESENCE, .name = "hp-mic-fix" },
10941104
{ .id = CXT_PINCFG_LENOVO_NOTEBOOK, .name = "lenovo-20149" },
10951105
{ .id = CXT_PINCFG_SWS_JS201D, .name = "sws-js201d" },
1106+
{ .id = CXT_PINCFG_TOP_SPEAKER, .name = "sirius-top-speaker" },
10961107
{}
10971108
};
10981109

0 commit comments

Comments
 (0)