From: Abhijit Bhopatkar Date: Tue, 17 Apr 2007 09:57:16 +0000 (+0200) Subject: [ALSA] hda-codec - Add first generation macbook subsystem ID X-Git-Tag: firefly_0821_release~29172^2~42 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c45e20eb214648014d2df54ddb9f8665b231629f;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- 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) */ 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;