Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c45e20eb authored by Abhijit Bhopatkar's avatar Abhijit Bhopatkar Committed by Jaroslav Kysela
Browse files

[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: default avatarAbhijit Bhopatkar <bainonline@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 5d0cedee
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;