diff options
author | Abhijit Bhopatkar <bainonline@gmail.com> | 2007-04-17 05:57:16 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 10:56:03 -0400 |
commit | c45e20eb214648014d2df54ddb9f8665b231629f (patch) | |
tree | 5672e7b7a82d8b280307d7b2cde36c7b96b210c9 /sound/pci | |
parent | 5d0cedee53938832acc4a5081658f0ce31680c0f (diff) |
[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 <bainonline@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | 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 612d355b9e01..5e6d02cf6726 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) | |||
1911 | */ | 1911 | */ |
1912 | printk(KERN_INFO "hda_codec: STAC922x, Apple subsys_id=%x\n", codec->subsystem_id); | 1912 | printk(KERN_INFO "hda_codec: STAC922x, Apple subsys_id=%x\n", codec->subsystem_id); |
1913 | switch (codec->subsystem_id) { | 1913 | switch (codec->subsystem_id) { |
1914 | case 0x106b0a00: /* MacBook First generatoin */ | ||
1915 | spec->board_config = STAC_MACBOOK; | ||
1916 | break; | ||
1914 | case 0x106b0200: /* MacBook Pro first generation */ | 1917 | case 0x106b0200: /* MacBook Pro first generation */ |
1915 | spec->board_config = STAC_MACBOOK_PRO_V1; | 1918 | spec->board_config = STAC_MACBOOK_PRO_V1; |
1916 | break; | 1919 | break; |