diff options
author | Kailang Yang <kailang@realtek.com> | 2008-10-15 05:22:09 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-15 05:23:10 -0400 |
commit | 01afd41f55524e8378601dbf33b858d8dd4b3f31 (patch) | |
tree | 234405d8924a15404fca4722161270d55fa851e1 /sound/pci/hda/patch_realtek.c | |
parent | a385a52925398e53bedf1a8b30a9a3e002569f27 (diff) |
ALSA: hda - Add support of ALC272
Added the support of ALC272 codec. It's almost compatible with ALC663.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 011f00aa0ec7..99123a755a5d 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -16308,6 +16308,9 @@ static int patch_alc662(struct hda_codec *codec) | |||
16308 | if (codec->vendor_id == 0x10ec0663) { | 16308 | if (codec->vendor_id == 0x10ec0663) { |
16309 | spec->stream_name_analog = "ALC663 Analog"; | 16309 | spec->stream_name_analog = "ALC663 Analog"; |
16310 | spec->stream_name_digital = "ALC663 Digital"; | 16310 | spec->stream_name_digital = "ALC663 Digital"; |
16311 | } else if (codec->vendor_id == 0x10ec0272) { | ||
16312 | spec->stream_name_analog = "ALC272 Analog"; | ||
16313 | spec->stream_name_digital = "ALC272 Digital"; | ||
16311 | } else { | 16314 | } else { |
16312 | spec->stream_name_analog = "ALC662 Analog"; | 16315 | spec->stream_name_analog = "ALC662 Analog"; |
16313 | spec->stream_name_digital = "ALC662 Digital"; | 16316 | spec->stream_name_digital = "ALC662 Digital"; |
@@ -16345,6 +16348,7 @@ struct hda_codec_preset snd_hda_preset_realtek[] = { | |||
16345 | { .id = 0x10ec0267, .name = "ALC267", .patch = patch_alc268 }, | 16348 | { .id = 0x10ec0267, .name = "ALC267", .patch = patch_alc268 }, |
16346 | { .id = 0x10ec0268, .name = "ALC268", .patch = patch_alc268 }, | 16349 | { .id = 0x10ec0268, .name = "ALC268", .patch = patch_alc268 }, |
16347 | { .id = 0x10ec0269, .name = "ALC269", .patch = patch_alc269 }, | 16350 | { .id = 0x10ec0269, .name = "ALC269", .patch = patch_alc269 }, |
16351 | { .id = 0x10ec0272, .name = "ALC272", .patch = patch_alc662 }, | ||
16348 | { .id = 0x10ec0861, .rev = 0x100340, .name = "ALC660", | 16352 | { .id = 0x10ec0861, .rev = 0x100340, .name = "ALC660", |
16349 | .patch = patch_alc861 }, | 16353 | .patch = patch_alc861 }, |
16350 | { .id = 0x10ec0660, .name = "ALC660-VD", .patch = patch_alc861vd }, | 16354 | { .id = 0x10ec0660, .name = "ALC660-VD", .patch = patch_alc861vd }, |