summarylogtreecommitdiffstats
path: root/0002-ALSA-hda-realtek-Add-quirk-for-ASUS-ROG-GA402X.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-ALSA-hda-realtek-Add-quirk-for-ASUS-ROG-GA402X.patch')
-rw-r--r--0002-ALSA-hda-realtek-Add-quirk-for-ASUS-ROG-GA402X.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/0002-ALSA-hda-realtek-Add-quirk-for-ASUS-ROG-GA402X.patch b/0002-ALSA-hda-realtek-Add-quirk-for-ASUS-ROG-GA402X.patch
new file mode 100644
index 000000000000..7aa617ba4560
--- /dev/null
+++ b/0002-ALSA-hda-realtek-Add-quirk-for-ASUS-ROG-GA402X.patch
@@ -0,0 +1,31 @@
+From f323359939ae90f940a43fda3f2c2f72c8d7e16e Mon Sep 17 00:00:00 2001
+From: "Luke D. Jones" <luke@ljones.dev>
+Date: Fri, 30 Jun 2023 16:25:02 +1200
+Subject: [PATCH 2/2] ALSA: hda/realtek: Add quirk for ASUS ROG GA402X
+
+Adds the required quirk to enable the Cirrus amp and correct pins
+on the ASUS ROG GV601V series.
+
+While this works if the related _DSD properties are made available, these
+aren't included in the ACPI of these laptops (yet).
+
+Signed-off-by: Luke D. Jones <luke@ljones.dev>
+---
+ sound/pci/hda/patch_realtek.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 1c26f24b1246..5b7df324e8b4 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -9544,6 +9544,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
+ SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC),
+ SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK),
+ SND_PCI_QUIRK(0x1043, 0x1433, "ASUS GX650P", ALC285_FIXUP_ASUS_I2C_HEADSET_MIC),
++ SND_PCI_QUIRK(0x1043, 0x1463, "Asus GA402X", ALC285_FIXUP_ASUS_I2C_HEADSET_MIC),
+ SND_PCI_QUIRK(0x1043, 0x1473, "ASUS GU604V", ALC285_FIXUP_ASUS_HEADSET_MIC),
+ SND_PCI_QUIRK(0x1043, 0x1483, "ASUS GU603V", ALC285_FIXUP_ASUS_HEADSET_MIC),
+ SND_PCI_QUIRK(0x1043, 0x1493, "ASUS GV601V", ALC285_FIXUP_ASUS_HEADSET_MIC),
+--
+2.41.0
+