Skip to contentSkip to conversation

MacBookAir3,1(3,2) alsa support

PATCH In review gimli 2 participants 4 messages Nov 2, 2010 – Nov 3, 2010 Sound

lore
Share & tools
lore

gimli

author
#0 lore raw

PATCH 6/6 MacBookAir3,1(3,2) alsa support

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

sound/pci/hda/patch_cirrus.c +1 -0
@@ -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 */
 };
 
#1 lore raw

At Tue, 02 Nov 2010 08:21:51 +0100,

Quoted 5 lines · gimli

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

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

thanks,

Takashi

Quoted 11 lines

[2 snd_hda_macbookair.patch <text/plain; UTF-8 (base64)>]

sound/pci/hda/patch_cirrus.c +1 -0
@@ -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 */
 };
 
author
#2 lore raw

Rebased to 2.6.37-rc1

Am 02.11.10 16:30, schrieb Takashi Iwai:

Quoted 17 lines

At Tue, 02 Nov 2010 08:21:51 +0100,

Quoted 5 lines · gimli

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

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

thanks,

Takashi

Quoted 12 lines

sound/pci/hda/patch_cirrus.c line 1095

Quoted 11 lines

[2 snd_hda_macbookair.patch<text/plain; UTF-8 (base64)>]

sound/pci/hda/patch_cirrus.c +1 -0
@@ -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 */
  };
 
sound/pci/hda/patch_cirrus.c +1 -0
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
@@ -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 */
 };
 
#3 lore raw

At Tue, 02 Nov 2010 21:34:04 +0100,

Quoted 5 lines · gimli

[1 <text/plain; ISO-8859-1 (7bit)>]
Rebased to 2.6.37-rc1

Applied now.
(But at the next time, it'd be helpful if you prepare a new patch again
after rebase so that it can be applied directly via git-am.)

Thanks,

Takashi

Quoted 43 lines

Am 02.11.10 16:30, schrieb Takashi Iwai:

Quoted 17 lines

At Tue, 02 Nov 2010 08:21:51 +0100,

Quoted 5 lines · gimli

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

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

thanks,

Takashi

Quoted 12 lines

sound/pci/hda/patch_cirrus.c line 1095

Quoted 11 lines

[2 snd_hda_macbookair.patch<text/plain; UTF-8 (base64)>]

sound/pci/hda/patch_cirrus.c +1 -0
@@ -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 */
  };
 

[2 snd_hda_macbookair.patch <text/plain (7bit)>]
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

sound/pci/hda/patch_cirrus.c +1 -0
@@ -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 */
 };