diff options
author | Kailang Yang <kailang@realtek.com> | 2008-10-15 05:18:05 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-15 05:18:05 -0400 |
commit | 4442608d4b0071a00067dcbf64e7362ce08e91a5 (patch) | |
tree | 9f4d8c2b2211ddbe846dbd3e4599d65dbd7dbf18 /sound/pci/hda/patch_realtek.c | |
parent | a01c30cb77aa7b80ea08d003783fb9f0470455ee (diff) |
ALSA: hda - Add ALC1200 support
Add ALC1200 codec support. Almost compatible with ALC888.
Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 87b69acdd6d3..0e759845c451 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -8837,8 +8837,13 @@ static int patch_alc883(struct hda_codec *codec) | |||
8837 | 8837 | ||
8838 | switch (codec->vendor_id) { | 8838 | switch (codec->vendor_id) { |
8839 | case 0x10ec0888: | 8839 | case 0x10ec0888: |
8840 | spec->stream_name_analog = "ALC888 Analog"; | 8840 | if (codec->revision_id == 0x100101) { |
8841 | spec->stream_name_digital = "ALC888 Digital"; | 8841 | spec->stream_name_analog = "ALC1200 Analog"; |
8842 | spec->stream_name_digital = "ALC1200 Digital"; | ||
8843 | } else { | ||
8844 | spec->stream_name_analog = "ALC888 Analog"; | ||
8845 | spec->stream_name_digital = "ALC888 Digital"; | ||
8846 | } | ||
8842 | break; | 8847 | break; |
8843 | case 0x10ec0889: | 8848 | case 0x10ec0889: |
8844 | spec->stream_name_analog = "ALC889 Analog"; | 8849 | spec->stream_name_analog = "ALC889 Analog"; |
@@ -16359,6 +16364,8 @@ struct hda_codec_preset snd_hda_preset_realtek[] = { | |||
16359 | .patch = patch_alc882 }, /* should be patch_alc883() in future */ | 16364 | .patch = patch_alc882 }, /* should be patch_alc883() in future */ |
16360 | { .id = 0x10ec0885, .name = "ALC885", .patch = patch_alc882 }, | 16365 | { .id = 0x10ec0885, .name = "ALC885", .patch = patch_alc882 }, |
16361 | { .id = 0x10ec0888, .name = "ALC888", .patch = patch_alc883 }, | 16366 | { .id = 0x10ec0888, .name = "ALC888", .patch = patch_alc883 }, |
16367 | { .id = 0x10ec0888, .rev = 0x100101, .name = "ALC1200", | ||
16368 | .patch = patch_alc883 }, | ||
16362 | { .id = 0x10ec0889, .name = "ALC889", .patch = patch_alc883 }, | 16369 | { .id = 0x10ec0889, .name = "ALC889", .patch = patch_alc883 }, |
16363 | {} /* terminator */ | 16370 | {} /* terminator */ |
16364 | }; | 16371 | }; |