Takashi Iwai 089764
From 2e6a731296be9d356fdccee9fb6ae345dad96438 Mon Sep 17 00:00:00 2001
Takashi Iwai 089764
From: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 089764
Date: Wed, 28 Apr 2021 13:27:04 +0200
Takashi Iwai 089764
Subject: [PATCH] ALSA: hda/conexant: Re-order CX5066 quirk table entries
Takashi Iwai 089764
Git-commit: 2e6a731296be9d356fdccee9fb6ae345dad96438
Takashi Iwai 089764
Patch-mainline: v5.13-rc1
Takashi Iwai 089764
References: git-fixes
Takashi Iwai 089764
Takashi Iwai 089764
Just re-order the cx5066_fixups[] entries for HP devices for avoiding
Takashi Iwai 089764
the oversight of the duplicated or unapplied item in future.
Takashi Iwai 089764
No functional changes.
Takashi Iwai 089764
Takashi Iwai 089764
Also Cc-to-stable for the further patch applications.
Takashi Iwai 089764
Takashi Iwai 089764
Cc: <stable@vger.kernel.org>
Takashi Iwai 089764
Link: https://lore.kernel.org/r/20210428112704.23967-14-tiwai@suse.de
Takashi Iwai 089764
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 089764
Takashi Iwai 089764
---
Takashi Iwai 089764
 sound/pci/hda/patch_conexant.c |   14 +++++++-------
Takashi Iwai 089764
 1 file changed, 7 insertions(+), 7 deletions(-)
Takashi Iwai 089764
Takashi Iwai 089764
--- a/sound/pci/hda/patch_conexant.c
Takashi Iwai 089764
+++ b/sound/pci/hda/patch_conexant.c
Takashi Iwai 089764
@@ -898,18 +898,18 @@ static const struct snd_pci_quirk cxt506
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x8079, "HP EliteBook 840 G3", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x807C, "HP EliteBook 820 G3", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x80FD, "HP ProBook 640 G2", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
-	SND_PCI_QUIRK(0x103c, 0x828c, "HP EliteBook 840 G4", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
-	SND_PCI_QUIRK(0x103c, 0x83b2, "HP EliteBook 840 G5", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
-	SND_PCI_QUIRK(0x103c, 0x83b3, "HP EliteBook 830 G5", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
-	SND_PCI_QUIRK(0x103c, 0x83d3, "HP ProBook 640 G4", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
-	SND_PCI_QUIRK(0x103c, 0x8174, "HP Spectre x360", CXT_FIXUP_HP_SPECTRE),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x8115, "HP Z1 Gen3", CXT_FIXUP_HP_GATE_MIC),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x814f, "HP ZBook 15u G3", CXT_FIXUP_MUTE_LED_GPIO),
Takashi Iwai 089764
+	SND_PCI_QUIRK(0x103c, 0x8174, "HP Spectre x360", CXT_FIXUP_HP_SPECTRE),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x822e, "HP ProBook 440 G4", CXT_FIXUP_MUTE_LED_GPIO),
Takashi Iwai 089764
-	SND_PCI_QUIRK(0x103c, 0x836e, "HP ProBook 455 G5", CXT_FIXUP_MUTE_LED_GPIO),
Takashi Iwai 089764
-	SND_PCI_QUIRK(0x103c, 0x837f, "HP ProBook 470 G5", CXT_FIXUP_MUTE_LED_GPIO),
Takashi Iwai 089764
+	SND_PCI_QUIRK(0x103c, 0x828c, "HP EliteBook 840 G4", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x8299, "HP 800 G3 SFF", CXT_FIXUP_HP_MIC_NO_PRESENCE),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x829a, "HP 800 G3 DM", CXT_FIXUP_HP_MIC_NO_PRESENCE),
Takashi Iwai 089764
+	SND_PCI_QUIRK(0x103c, 0x836e, "HP ProBook 455 G5", CXT_FIXUP_MUTE_LED_GPIO),
Takashi Iwai 089764
+	SND_PCI_QUIRK(0x103c, 0x837f, "HP ProBook 470 G5", CXT_FIXUP_MUTE_LED_GPIO),
Takashi Iwai 089764
+	SND_PCI_QUIRK(0x103c, 0x83b2, "HP EliteBook 840 G5", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
+	SND_PCI_QUIRK(0x103c, 0x83b3, "HP EliteBook 830 G5", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
+	SND_PCI_QUIRK(0x103c, 0x83d3, "HP ProBook 640 G4", CXT_FIXUP_HP_DOCK),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x8402, "HP ProBook 645 G4", CXT_FIXUP_MUTE_LED_GPIO),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x8455, "HP Z2 G4", CXT_FIXUP_HP_MIC_NO_PRESENCE),
Takashi Iwai 089764
 	SND_PCI_QUIRK(0x103c, 0x8456, "HP Z2 G4 SFF", CXT_FIXUP_HP_MIC_NO_PRESENCE),