Revision: 106 http://svn.sourceforge.net/mactel-linux/?rev=106&view=rev Author: nboichat Date: 2007-04-10 02:50:11 -0700 (Tue, 10 Apr 2007)
Log Message: ----------- Fix audio on Macbook 1st generation. Modified Paths: -------------- trunk/kernel/mactel-patches-2.6.21/0007-sigmatel_audio2.patch trunk/kernel/mactel-patches-2.6.21/0010-sigmatel_audio3.patch Modified: trunk/kernel/mactel-patches-2.6.21/0007-sigmatel_audio2.patch =================================================================== --- trunk/kernel/mactel-patches-2.6.21/0007-sigmatel_audio2.patch 2007-04-10 09:49:42 UTC (rev 105) +++ trunk/kernel/mactel-patches-2.6.21/0007-sigmatel_audio2.patch 2007-04-10 09:50:11 UTC (rev 106) @@ -5,11 +5,11 @@ --- - sound/pci/hda/patch_sigmatel.c | 18 +++++++++--------- - 1 files changed, 9 insertions(+), 9 deletions(-) + sound/pci/hda/patch_sigmatel.c | 19 ++++++++++--------- + 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c -index c94291b..4c5fee3 100644 +index c94291b..07bfc6e 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -524,16 +524,16 @@ static unsigned int d945gtp5_pin_configs[10] = { @@ -47,3 +47,11 @@ [STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs, [STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs, }; +@@ -1905,6 +1905,7 @@ 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 generation */ + case 0x106b0200: /* MacBook Pro first generation */ + spec->board_config = STAC_MACBOOK_PRO_V1; + break; Modified: trunk/kernel/mactel-patches-2.6.21/0010-sigmatel_audio3.patch =================================================================== --- trunk/kernel/mactel-patches-2.6.21/0010-sigmatel_audio3.patch 2007-04-10 09:49:42 UTC (rev 105) +++ trunk/kernel/mactel-patches-2.6.21/0010-sigmatel_audio3.patch 2007-04-10 09:50:11 UTC (rev 106) @@ -9,14 +9,14 @@ 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c -index 4c5fee3..13cb0c5 100644 +index 07bfc6e..4f064c3 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c @@ -1905,6 +1905,7 @@ 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 0x100: ++ case 0x100: /* Invalid subsystem ID */ + case 0x106b0a00: /* MacBook first generation */ case 0x106b0200: /* MacBook Pro first generation */ spec->board_config = STAC_MACBOOK_PRO_V1; - break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mactel-linux-devel mailing list Mactel-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel