Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/cs420x: Add CS4208 fixup for MacBookAir 7,2
@ 2026-09-01 18:28 Jonne Vuorela
  2026-09-02  6:42 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Jonne Vuorela @ 2026-09-01 18:28 UTC (permalink / raw)
  To: tiwai@suse.de; +Cc: alsa-devel@alsa-project.org

>From 6aaa1f7fe990490a9b3d259a5ecde7495b60a281 Mon Sep 17 00:00:00 2001
From: Jonne Vuorela <jonne.vuorela@proton.me>
Date: Tue, 1 Sep 2026 16:40:10 +0300
Subject: [PATCH] ALSA: hda/cs420x: Add CS4208 fixup for MacBookAir 7,2

The MacBookAir 7,2 HDA controller has PCI subsystem 8086:7270
rather than Apple 0x106b, so no fixup is selected and all pins
default to 0x400000f0. The pin wiring matches MBA6, so add the
subsystem ID to both lookup tables pointing to CS4208_MBA6.

Tested on MacBookAir 7,2.

Signed-off-by: Jonne Vuorela <jonne.vuorela@proton.me>
---
 sound/hda/codecs/cirrus/cs420x.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/hda/codecs/cirrus/cs420x.c b/sound/hda/codecs/cirrus/cs420x.c
index 85c2ecf46d3..564a0e49a75 100644
--- a/sound/hda/codecs/cirrus/cs420x.c
+++ b/sound/hda/codecs/cirrus/cs420x.c
@@ -571,6 +571,7 @@ static const struct hda_model_fixup cs4208_models[] = {

 static const struct hda_quirk cs4208_fixup_tbl[] = {
 	SND_PCI_QUIRK_VENDOR(0x106b, "Apple", CS4208_MAC_AUTO),
+	SND_PCI_QUIRK(0x8086, 0x7270, "MacBookAir 7,2", CS4208_MAC_AUTO),
 	{} /* terminator */
 };

@@ -580,6 +581,7 @@ static const struct hda_quirk cs4208_mac_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x106b, 0x6c00, "MacMini 7,1", CS4208_MACMINI),
 	SND_PCI_QUIRK(0x106b, 0x7100, "MacBookAir 6,1", CS4208_MBA6),
 	SND_PCI_QUIRK(0x106b, 0x7200, "MacBookAir 6,2", CS4208_MBA6),
+	SND_PCI_QUIRK(0x8086, 0x7270, "MacBookAir 7,2", CS4208_MBA6),
 	SND_PCI_QUIRK(0x106b, 0x7800, "MacPro 6,1", CS4208_MACMINI),
 	SND_PCI_QUIRK(0x106b, 0x7b00, "MacBookPro 12,1", CS4208_MBP11),
 	SND_PCI_QUIRK(0x106b, 0x7f00, "iMac 16,1", CS4208_MBP11),
--
2.55.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-08 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-01 18:28 [PATCH] ALSA: hda/cs420x: Add CS4208 fixup for MacBookAir 7,2 Jonne Vuorela
2026-09-02  6:42 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox