Re: [PATCH 6/6] MacBookAir3,1(3,2) alsa support

From: gimli
Date: Tue Nov 02 2010 - 16:34:13 EST


Rebased to 2.6.37-rc1

Signed-off-by: Edgar (gimli) Hucek<gimli@xxxxxxxxxxxxxx>


Am 02.11.10 16:30, schrieb Takashi Iwai:
At Tue, 02 Nov 2010 08:21:51 +0100,
gimli wrote:

This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the alsa
sound system.

Signed-off-by: Edgar (gimli) Hucek<gimli@xxxxxxxxxxxxxx>

The patch isn't applicable to the latest upstream code.
Could you rebase your patch to 2.6.37-rc1?


thanks,

Takashi


[2 snd_hda_macbookair.patch<text/plain; UTF-8 (base64)>]
--- a/sound/pci/hda/patch_cirrus.c 2010-10-29 08:30:04.029681004 +0200
+++ b/sound/pci/hda/patch_cirrus.c 2010-10-29 08:34:04.509681003 +0200
@@ -1089,6 +1089,7 @@
static struct snd_pci_quirk cs420x_cfg_tbl[] = {
SND_PCI_QUIRK(0x10de, 0xcb79, "MacBookPro 5,5", CS420X_MBP55),
SND_PCI_QUIRK(0x8086, 0x7270, "IMac 27 Inch", CS420X_IMAC27),
+ SND_PCI_QUIRK(0x10de, 0x0d94, "MacBookAir 3,1(2)", CS420X_MBP55),
{} /* terminator */
};



diff -uNr linux-2.6.37-rc1/sound/pci/hda/patch_cirrus.c linux-2.6.37-rc1-patched/sound/pci/hda/patch_cirrus.c
--- linux-2.6.37-rc1/sound/pci/hda/patch_cirrus.c 2010-11-02 21:27:10.000000000 +0100
+++ linux-2.6.37-rc1-patched/sound/pci/hda/patch_cirrus.c 2010-11-02 21:28:53.000000000 +0100
@@ -1169,6 +1169,7 @@
SND_PCI_QUIRK(0x10de, 0xcb79, "MacBookPro 5,5", CS420X_MBP55),
SND_PCI_QUIRK(0x10de, 0xcb89, "MacBookPro 7,1", CS420X_MBP55),
SND_PCI_QUIRK(0x8086, 0x7270, "IMac 27 Inch", CS420X_IMAC27),
+ SND_PCI_QUIRK(0x10de, 0x0d94, "MacBookAir 3,1(2)", CS420X_MBP55),
{} /* terminator */
};