Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62043
b: refs/heads/master
c: 0dae0f8
h: refs/heads/master
i:
  62041: c957748
  62039: 14c210a
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jul 20, 2007
1 parent 44dff3a commit 4f04ac4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea7cfcdfe6439cd98816da9d339a6bc9032d2084
refs/heads/master: 0dae0f83cd9956d0959f6d6de9f5391da6483274
1 change: 1 addition & 0 deletions trunk/Documentation/sound/alsa/ALSA-Configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
macbook-pro-v1 Intel Mac Book Pro 1st generation
macbook-pro Intel Mac Book Pro 2nd generation
imac-intel Intel iMac
imac-intel-20 Intel iMac (newer version)

STAC9202/9250/9251
ref Reference board, base config
Expand Down
12 changes: 12 additions & 0 deletions trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ enum {
STAC_MACBOOK_PRO_V1,
STAC_MACBOOK_PRO_V2,
STAC_IMAC_INTEL,
STAC_IMAC_INTEL_20,
STAC_922X_MODELS
};

Expand Down Expand Up @@ -567,6 +568,12 @@ static unsigned int imac_intel_pin_configs[10] = {
0x400000fc, 0x400000fb,
};

static unsigned int imac_intel_20_pin_configs[10] = {
0x0121E21F, 0x90A7012E, 0x9017E110, 0x400000FD,
0x400000FE, 0x0181E020, 0x1145E230, 0x11C5E240,
0x400000FC, 0x400000FB,
};

static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
[STAC_D945_REF] = ref922x_pin_configs,
[STAC_D945GTP3] = d945gtp3_pin_configs,
Expand All @@ -576,6 +583,7 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
[STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs,
[STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs,
[STAC_IMAC_INTEL] = imac_intel_pin_configs,
[STAC_IMAC_INTEL_20] = imac_intel_20_pin_configs,
};

static const char *stac922x_models[STAC_922X_MODELS] = {
Expand All @@ -587,6 +595,7 @@ static const char *stac922x_models[STAC_922X_MODELS] = {
[STAC_MACBOOK_PRO_V1] = "macbook-pro-v1",
[STAC_MACBOOK_PRO_V2] = "macbook-pro",
[STAC_IMAC_INTEL] = "imac-intel",
[STAC_IMAC_INTEL_20] = "imac-intel-20",
};

static struct snd_pci_quirk stac922x_cfg_tbl[] = {
Expand Down Expand Up @@ -2037,6 +2046,9 @@ static int patch_stac922x(struct hda_codec *codec)
case 0x106b0700: /* Intel-based iMac */
spec->board_config = STAC_IMAC_INTEL;
break;
case 0x106b1700: /* Intel iMac 20 */
spec->board_config = STAC_IMAC_INTEL_20;
break;
}
}

Expand Down

0 comments on commit 4f04ac4

Please sign in to comment.