Skip to contentSkip to conversation

ALSA: hda - add more quirks for HP Z2 G4 and HP Z240

PATCH In review Jaroslav Kysela 2 participants 4 messages Mar 13, 2019 Sound

lore
Share & tools
lore

Jaroslav Kysela

author maintainer
#0 lore raw

PATCH 1/1 ALSA: hda - add more quirks for HP Z2 G4 and HP Z240

From: Jaroslav Kysela <[email protected]>

Apply the HP_MIC_NO_PRESENCE fixups for the more HP Z2 G4 and HP Z240 models.

---
 sound/pci/hda/patch_conexant.c | 3 +++
 sound/pci/hda/patch_realtek.c  | 6 ++++--
 2 files changed, 7 insertions(+), 2 deletions(-)
sound/pci/hda/patch_conexant.c +3 -0
index a4ee7656d9ee..fb65ad31e86c 100644
@@ -936,6 +936,9 @@ static const struct snd_pci_quirk cxt5066_fixups[] = {
 	SND_PCI_QUIRK(0x103c, 0x8299, "HP 800 G3 SFF", CXT_FIXUP_HP_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x103c, 0x829a, "HP 800 G3 DM", CXT_FIXUP_HP_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x103c, 0x8455, "HP Z2 G4", CXT_FIXUP_HP_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x103c, 0x8456, "HP Z2 G4 SFF", CXT_FIXUP_HP_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x103c, 0x8457, "HP Z2 G4 mini", CXT_FIXUP_HP_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x103c, 0x8458, "HP Z2 G4 mini premium", CXT_FIXUP_HP_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1043, 0x138d, "Asus", CXT_FIXUP_HEADPHONE_MIC_PIN),
 	SND_PCI_QUIRK(0x152d, 0x0833, "OLPC XO-1.5", CXT_FIXUP_OLPC_XO),
 	SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400", CXT_PINCFG_LENOVO_TP410),
sound/pci/hda/patch_realtek.c +4 -2
index c8413d44973c..476c3ee31dc8 100644
@@ -6764,11 +6764,13 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x2336, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
 	SND_PCI_QUIRK(0x103c, 0x2337, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
 	SND_PCI_QUIRK(0x103c, 0x221c, "HP EliteBook 755 G2", ALC280_FIXUP_HP_HEADSET_MIC),
+	SND_PCI_QUIRK(0x103c, 0x802e, "HP Z240 SFF", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x103c, 0x802f, "HP Z240", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x103c, 0x820d, "HP Pavilion 15", ALC269_FIXUP_HP_MUTE_LED_MIC3),
 	SND_PCI_QUIRK(0x103c, 0x8256, "HP", ALC221_FIXUP_HP_FRONT_MIC),
 	SND_PCI_QUIRK(0x103c, 0x827e, "HP x360", ALC295_FIXUP_HP_X360),
-	SND_PCI_QUIRK(0x103c, 0x82bf, "HP", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
-	SND_PCI_QUIRK(0x103c, 0x82c0, "HP", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x103c, 0x82bf, "HP G3 mini", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x103c, 0x82c0, "HP G3 mini premium", ALC221_FIXUP_HP_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x103c, 0x83b9, "HP Spectre x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
 	SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
 	SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300),
Signature · 1 line
2.20.1
author maintainer
#2 lore raw

Dne 13. 03. 19 v 14:26 Takashi Iwai napsal(a):

Quoted 8 lines
Quoted 6 lines · Jaroslav Kysela

From: Jaroslav Kysela <[email protected]>

Apply the HP_MIC_NO_PRESENCE fixups for the more HP Z2 G4 and HP Z240 models.

Quoted 6 lines
Quoted 2 lines

Thanks, I'm going to apply it with Cc to stable.
BTW, would you like to keep your sign-off with @perex.cz while the author is @redhat.com? Or is it just an overlook?

It's just an overlook. It should be [email protected] for all. Thanks.

Jaroslav

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
#3 lore raw
Quoted 10 lines · Jaroslav Kysela

Dne 13. 03. 19 v 14:26 Takashi Iwai napsal(a):

Quoted 8 lines
Quoted 6 lines · Jaroslav Kysela

From: Jaroslav Kysela <[email protected]>

Apply the HP_MIC_NO_PRESENCE fixups for the more HP Z2 G4 and HP Z240 models.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Thanks, I'm going to apply it with Cc to stable.
BTW, would you like to keep your sign-off with @perex.cz while the author is @redhat.com? Or is it just an overlook?

It's just an overlook. It should be [email protected] for all. Thanks.

OK, I applied it as @perex.cz now.

Takashi