[PATCH] ALSA: hda/cirrus - support for iMac 12,1 model

Allen Ballway posted 1 patch 3 years, 8 months ago
sound/pci/hda/patch_cirrus.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] ALSA: hda/cirrus - support for iMac 12,1 model
Posted by Allen Ballway 3 years, 8 months ago
The 12,1 model requires the same configuration as the 12,2 model
to enable headphones but has a different codec SSID. Adds
12,1 SSID for matching quirk.

Signed-off-by: Allen Ballway <ballway@chromium.org>
---

 sound/pci/hda/patch_cirrus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c
index 678fbcaf2a3b..e1055d7d9be6 100644
--- a/sound/pci/hda/patch_cirrus.c
+++ b/sound/pci/hda/patch_cirrus.c
@@ -396,6 +396,7 @@ static const struct snd_pci_quirk cs420x_fixup_tbl[] = {
 	/* codec SSID */
 	SND_PCI_QUIRK(0x106b, 0x0600, "iMac 14,1", CS420X_IMAC27_122),
 	SND_PCI_QUIRK(0x106b, 0x1c00, "MacBookPro 8,1", CS420X_MBP81),
+	SND_PCI_QUIRK(0x106b, 0x0900, "iMac 12,1", CS420X_IMAC27_122),
 	SND_PCI_QUIRK(0x106b, 0x2000, "iMac 12,2", CS420X_IMAC27_122),
 	SND_PCI_QUIRK(0x106b, 0x2800, "MacBookPro 10,1", CS420X_MBP101),
 	SND_PCI_QUIRK(0x106b, 0x5600, "MacBookAir 5,2", CS420X_MBP81),
--
2.37.1.559.g78731f0fdb-goog
Re: [PATCH] ALSA: hda/cirrus - support for iMac 12,1 model
Posted by Takashi Iwai 3 years, 8 months ago
On Wed, 10 Aug 2022 17:27:22 +0200,
Allen Ballway wrote:
> 
> The 12,1 model requires the same configuration as the 12,2 model
> to enable headphones but has a different codec SSID. Adds
> 12,1 SSID for matching quirk.
> 
> Signed-off-by: Allen Ballway <ballway@chromium.org>

Thanks, applied now with a minor modification to re-arrange the entry
in the SSID order.


Takashi