aca0c01
From a9e1e167d934aa74f48008393ade4f09fc587432 Mon Sep 17 00:00:00 2001
aca0c01
From: Josh Boyer <jwboyer@redhat.com>
aca0c01
Date: Thu, 12 Apr 2012 13:55:36 -0400
aca0c01
Subject: [PATCH] ALSA: hda/realtek - Add quirk for Mac Pro 5,1 machines
aca0c01
aca0c01
A user reported that setting model=imac24 used to allow sound to work on their
aca0c01
Mac Pro 5,1 machine.  Commit 5671087ffa "Move ALC885 macpro and imac24 models
aca0c01
to auto-parser" removed this model option.  All Mac machines are now explicitly
aca0c01
handled with a quirk and the auto-parser.  This adds a quirk for the device
aca0c01
found on the Mac Pro 5,1 machines.
aca0c01
aca0c01
This (partially) fixes https://bugzilla.redhat.com/show_bug.cgi?id=808559
aca0c01
aca0c01
[sorted the new entry in the ID number order by tiwai]
aca0c01
aca0c01
Reported-by: Gabriel Somlo <somlo@cmu.edu>
aca0c01
Signed-off-by: Josh Boyer <jwboyer@redhat.com>
aca0c01
Signed-off-by: Takashi Iwai <tiwai@suse.de>
aca0c01
---
aca0c01
 sound/pci/hda/patch_realtek.c |    1 +
aca0c01
 1 files changed, 1 insertions(+), 0 deletions(-)
aca0c01
aca0c01
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
aca0c01
index 22c73b7..bd34b51 100644
aca0c01
--- a/sound/pci/hda/patch_realtek.c
aca0c01
+++ b/sound/pci/hda/patch_realtek.c
aca0c01
@@ -4659,6 +4659,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {
aca0c01
 	SND_PCI_QUIRK(0x106b, 0x2800, "AppleTV", ALC885_FIXUP_MACPRO_GPIO),
aca0c01
 	SND_PCI_QUIRK(0x106b, 0x3200, "iMac 7,1 Aluminum", ALC882_FIXUP_EAPD),
aca0c01
 	SND_PCI_QUIRK(0x106b, 0x3e00, "iMac 24 Aluminum", ALC885_FIXUP_MACPRO_GPIO),
aca0c01
+	SND_PCI_QUIRK(0x106b, 0x4200, "Mac Pro 5,1", ALC885_FIXUP_MACPRO_GPIO),
aca0c01
 
aca0c01
 	SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD),
aca0c01
 	SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3),
aca0c01
-- 
aca0c01
1.7.7.6
aca0c01