[6/6] MacBookAir3,1(3,2) alsa support
diff mbox series

Message ID 2e2e589908fd826020cfede6291e6168@mognix.dark-green.com
State New, archived
Headers show
Series
  • MacBookAir3,1(3,2) patches
Related show

Commit Message

gimli Nov. 2, 2010, 7:21 a.m. UTC
This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the alsa
sound system.

Signed-off-by: Edgar (gimli) Hucek <gimli@dark-green.com>

Comments

Takashi Iwai Nov. 2, 2010, 3:30 p.m. UTC | #1
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@dark-green.com>

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 */
>  };
>  
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
gimli Nov. 2, 2010, 8:34 p.m. UTC | #2
Rebased to 2.6.37-rc1

Signed-off-by: Edgar (gimli) Hucek<gimli@dark-green.com>


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@dark-green.com>
>
> 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 */
 };
Takashi Iwai Nov. 3, 2010, 9:01 a.m. UTC | #3
At Tue, 02 Nov 2010 21:34:04 +0100,
gimli wrote:
> 
> [1  <text/plain; ISO-8859-1 (7bit)>]
> Rebased to 2.6.37-rc1
> 
> Signed-off-by: Edgar (gimli) Hucek<gimli@dark-green.com>

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

> 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@dark-green.com>
> >
> > 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 */
> >>   };
> >>
> >
> 
> [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
> --- 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 */
>  };
>  
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Patch
diff mbox series

--- 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 */
 };