[v2,1/1] ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V

Message ID 20230706223323.30871-2-luke@ljones.dev
State New
Headers
Series ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V |

Commit Message

Luke Jones July 6, 2023, 10:33 p.m. UTC
  Adds the required quirk to enable the Cirrus amp and correct pins
on the ASUS ROG GZ301V series which uses an SPI connected Cirrus amp.

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(+)
  

Comments

Takashi Iwai July 7, 2023, 6:10 a.m. UTC | #1
On Fri, 07 Jul 2023 00:33:23 +0200,
Luke D. Jones wrote:
> 
> Adds the required quirk to enable the Cirrus amp and correct pins
> on the ASUS ROG GZ301V series which uses an SPI connected Cirrus amp.
> 
> 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>

Applied now, thanks.


Takashi
  

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 1547c40dc7e9..969eb0736bca 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9607,6 +9607,7 @@  static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1043, 0x1483, "ASUS GU603V", ALC285_FIXUP_ASUS_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1043, 0x1493, "ASUS GV601V", ALC285_FIXUP_ASUS_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),
+	SND_PCI_QUIRK(0x1043, 0x1573, "ASUS GZ301V", ALC285_FIXUP_ASUS_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK),
 	SND_PCI_QUIRK(0x1043, 0x1683, "ASUS UM3402YAR", ALC287_FIXUP_CS35L41_I2C_2),
 	SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401),