diff options
-rw-r--r-- | sound/pci/ac97/ac97_codec.c | 2 | ||||
-rw-r--r-- | sound/pci/ac97/ac97_patch.c | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index f6a7d721649e..171559c19b3d 100644 --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c | |||
@@ -122,7 +122,7 @@ static const struct ac97_codec_id snd_ac97_codec_ids[] = { | |||
122 | { 0x414c4740, 0xfffffff0, "ALC202", NULL, NULL }, | 122 | { 0x414c4740, 0xfffffff0, "ALC202", NULL, NULL }, |
123 | { 0x414c4750, 0xfffffff0, "ALC250", NULL, NULL }, | 123 | { 0x414c4750, 0xfffffff0, "ALC250", NULL, NULL }, |
124 | { 0x414c4760, 0xfffffff0, "ALC655", patch_alc655, NULL }, | 124 | { 0x414c4760, 0xfffffff0, "ALC655", patch_alc655, NULL }, |
125 | { 0x414c4770, 0xfffffff0, "ALC203", NULL, NULL }, | 125 | { 0x414c4770, 0xfffffff0, "ALC203", patch_alc203, NULL }, |
126 | { 0x414c4781, 0xffffffff, "ALC658D", NULL, NULL }, /* already patched */ | 126 | { 0x414c4781, 0xffffffff, "ALC658D", NULL, NULL }, /* already patched */ |
127 | { 0x414c4780, 0xfffffff0, "ALC658", patch_alc655, NULL }, | 127 | { 0x414c4780, 0xfffffff0, "ALC658", patch_alc655, NULL }, |
128 | { 0x414c4790, 0xfffffff0, "ALC850", patch_alc850, NULL }, | 128 | { 0x414c4790, 0xfffffff0, "ALC850", patch_alc850, NULL }, |
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index f4fbc795ee81..bb028f8f9a2e 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c | |||
@@ -2560,6 +2560,14 @@ static int patch_ad1986(struct snd_ac97 * ac97) | |||
2560 | return 0; | 2560 | return 0; |
2561 | } | 2561 | } |
2562 | 2562 | ||
2563 | /* | ||
2564 | * realtek ALC203: use mono-out for pin 37 | ||
2565 | */ | ||
2566 | static int patch_alc203(struct snd_ac97 *ac97) | ||
2567 | { | ||
2568 | snd_ac97_update_bits(ac97, 0x7a, 0x400, 0x400); | ||
2569 | return 0; | ||
2570 | } | ||
2563 | 2571 | ||
2564 | /* | 2572 | /* |
2565 | * realtek ALC65x/850 codecs | 2573 | * realtek ALC65x/850 codecs |