[alsa-cvslog] alsa-kernel: hda-codec - Add first generation macbook subsystem ID
Brought to you by:
perex
From: Takashi I. <ti...@su...> - 2007-04-17 09:57:30
|
changeset: 4993:85d7b40c7b05 tag: tip user: tiwai date: Tue Apr 17 11:57:16 2007 +0200 files: pci/hda/patch_sigmatel.c description: 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 <bai...@gm...> diff -r 4b6ed4ef4820 -r 85d7b40c7b05 pci/hda/patch_sigmatel.c --- a/pci/hda/patch_sigmatel.c Mon Apr 16 19:20:17 2007 +0200 +++ b/pci/hda/patch_sigmatel.c Tue Apr 17 11:57:16 2007 +0200 @@ -1911,6 +1911,9 @@ static int patch_stac922x(struct hda_cod */ 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; |