Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c45e20eb214648014d2df54ddb9f8665b231629f
Commit:     c45e20eb214648014d2df54ddb9f8665b231629f
Parent:     5d0cedee53938832acc4a5081658f0ce31680c0f
Author:     Abhijit Bhopatkar <[EMAIL PROTECTED]>
AuthorDate: Tue Apr 17 11:57:16 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Fri May 11 16:56:03 2007 +0200

    [ALSA] hda-codec - Add first generation macbook subsystem ID
    
    First generation MacBooks were getting ignored by sigmatel drivers
    and wrongly being identified as MACMINI. This patch makes them
    identify as MACBOOK.
    
    Signed-off-by: Abhijit Bhopatkar <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/hda/patch_sigmatel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 612d355..5e6d02c 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1911,6 +1911,9 @@ static int patch_stac922x(struct hda_codec *codec)
                 */
                printk(KERN_INFO "hda_codec: STAC922x, Apple subsys_id=%x\n", 
codec->subsystem_id);
                switch (codec->subsystem_id) {
+               case 0x106b0a00: /* MacBook First generatoin */
+                       spec->board_config = STAC_MACBOOK;
+                       break;
                case 0x106b0200: /* MacBook Pro first generation */
                        spec->board_config = STAC_MACBOOK_PRO_V1;
                        break;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to