Skip to content

Commit 5060592

Browse files
antheasgregkh
authored andcommitted
ALSA: hda/realtek: Add Asus quirk for TAS amplifiers
commit f7cede1 upstream. By default, these devices use the quirk ALC294_FIXUP_ASUS_SPK. Not using it causes the headphone jack to stop working. Therefore, introduce a new quirk ALC287_FIXUP_TXNW2781_I2C_ASUS that binds to the TAS amplifier while using that quirk. Cc: stable@kernel.org Fixes: 18a4895 ("ALSA: hda/realtek: Add match for ASUS Xbox Ally projects") Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev> Link: https://patch.msgid.link/20251216211714.1116898-1-lkml@antheas.dev Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 134436e commit 5060592

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

sound/hda/codecs/realtek/alc269.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3703,6 +3703,7 @@ enum {
37033703
ALC295_FIXUP_DELL_TAS2781_I2C,
37043704
ALC245_FIXUP_TAS2781_SPI_2,
37053705
ALC287_FIXUP_TXNW2781_I2C,
3706+
ALC287_FIXUP_TXNW2781_I2C_ASUS,
37063707
ALC287_FIXUP_YOGA7_14ARB7_I2C,
37073708
ALC245_FIXUP_HP_MUTE_LED_COEFBIT,
37083709
ALC245_FIXUP_HP_MUTE_LED_V1_COEFBIT,
@@ -5993,6 +5994,12 @@ static const struct hda_fixup alc269_fixups[] = {
59935994
.chained = true,
59945995
.chain_id = ALC285_FIXUP_THINKPAD_HEADSET_JACK,
59955996
},
5997+
[ALC287_FIXUP_TXNW2781_I2C_ASUS] = {
5998+
.type = HDA_FIXUP_FUNC,
5999+
.v.func = tas2781_fixup_txnw_i2c,
6000+
.chained = true,
6001+
.chain_id = ALC294_FIXUP_ASUS_SPK,
6002+
},
59966003
[ALC287_FIXUP_YOGA7_14ARB7_I2C] = {
59976004
.type = HDA_FIXUP_FUNC,
59986005
.v.func = yoga7_14arb7_fixup_i2c,
@@ -6736,8 +6743,8 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
67366743
SND_PCI_QUIRK(0x1043, 0x12f0, "ASUS X541UV", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE),
67376744
SND_PCI_QUIRK(0x1043, 0x1313, "Asus K42JZ", ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE),
67386745
SND_PCI_QUIRK(0x1043, 0x1314, "ASUS GA605K", ALC285_FIXUP_ASUS_GA605K_HEADSET_MIC),
6739-
SND_PCI_QUIRK(0x1043, 0x1384, "ASUS RC73XA", ALC287_FIXUP_TXNW2781_I2C),
6740-
SND_PCI_QUIRK(0x1043, 0x1394, "ASUS RC73YA", ALC287_FIXUP_TXNW2781_I2C),
6746+
SND_PCI_QUIRK(0x1043, 0x1384, "ASUS RC73XA", ALC287_FIXUP_TXNW2781_I2C_ASUS),
6747+
SND_PCI_QUIRK(0x1043, 0x1394, "ASUS RC73YA", ALC287_FIXUP_TXNW2781_I2C_ASUS),
67416748
SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE),
67426749
SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK),
67436750
SND_PCI_QUIRK(0x1043, 0x1433, "ASUS GX650PY/PZ/PV/PU/PYV/PZV/PIV/PVV", ALC285_FIXUP_ASUS_I2C_HEADSET_MIC),

0 commit comments

Comments
 (0)