diff options
author | Kailang Yang <kailang@realtek.com> | 2014-12-18 04:07:44 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-12-18 11:48:51 -0500 |
commit | 506b62c33a7444b91a93bf2da772f4c7e6656410 (patch) | |
tree | e2db1970a2c901c999afb2c31f66ced4a8df6dd9 | |
parent | fd112f1cf6e10da96ccef9b22c1877114f4e4aad (diff) |
ALSA: hda/realtek - New codec support for ALC298
Add new support for ALC298 codec.
Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 24db152f0ab1..65f1f4e18ea5 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -326,6 +326,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec) | |||
326 | case 0x10ec0283: | 326 | case 0x10ec0283: |
327 | case 0x10ec0286: | 327 | case 0x10ec0286: |
328 | case 0x10ec0288: | 328 | case 0x10ec0288: |
329 | case 0x10ec0298: | ||
329 | alc_update_coef_idx(codec, 0x10, 1<<9, 0); | 330 | alc_update_coef_idx(codec, 0x10, 1<<9, 0); |
330 | break; | 331 | break; |
331 | case 0x10ec0285: | 332 | case 0x10ec0285: |
@@ -2660,6 +2661,7 @@ enum { | |||
2660 | ALC269_TYPE_ALC284, | 2661 | ALC269_TYPE_ALC284, |
2661 | ALC269_TYPE_ALC285, | 2662 | ALC269_TYPE_ALC285, |
2662 | ALC269_TYPE_ALC286, | 2663 | ALC269_TYPE_ALC286, |
2664 | ALC269_TYPE_ALC298, | ||
2663 | ALC269_TYPE_ALC255, | 2665 | ALC269_TYPE_ALC255, |
2664 | ALC269_TYPE_ALC256, | 2666 | ALC269_TYPE_ALC256, |
2665 | }; | 2667 | }; |
@@ -2688,6 +2690,7 @@ static int alc269_parse_auto_config(struct hda_codec *codec) | |||
2688 | case ALC269_TYPE_ALC282: | 2690 | case ALC269_TYPE_ALC282: |
2689 | case ALC269_TYPE_ALC283: | 2691 | case ALC269_TYPE_ALC283: |
2690 | case ALC269_TYPE_ALC286: | 2692 | case ALC269_TYPE_ALC286: |
2693 | case ALC269_TYPE_ALC298: | ||
2691 | case ALC269_TYPE_ALC255: | 2694 | case ALC269_TYPE_ALC255: |
2692 | case ALC269_TYPE_ALC256: | 2695 | case ALC269_TYPE_ALC256: |
2693 | ssids = alc269_ssids; | 2696 | ssids = alc269_ssids; |
@@ -5421,6 +5424,9 @@ static int patch_alc269(struct hda_codec *codec) | |||
5421 | spec->codec_variant = ALC269_TYPE_ALC286; | 5424 | spec->codec_variant = ALC269_TYPE_ALC286; |
5422 | spec->shutup = alc286_shutup; | 5425 | spec->shutup = alc286_shutup; |
5423 | break; | 5426 | break; |
5427 | case 0x10ec0298: | ||
5428 | spec->codec_variant = ALC269_TYPE_ALC298; | ||
5429 | break; | ||
5424 | case 0x10ec0255: | 5430 | case 0x10ec0255: |
5425 | spec->codec_variant = ALC269_TYPE_ALC255; | 5431 | spec->codec_variant = ALC269_TYPE_ALC255; |
5426 | break; | 5432 | break; |
@@ -6368,6 +6374,7 @@ static const struct hda_codec_preset snd_hda_preset_realtek[] = { | |||
6368 | { .id = 0x10ec0290, .name = "ALC290", .patch = patch_alc269 }, | 6374 | { .id = 0x10ec0290, .name = "ALC290", .patch = patch_alc269 }, |
6369 | { .id = 0x10ec0292, .name = "ALC292", .patch = patch_alc269 }, | 6375 | { .id = 0x10ec0292, .name = "ALC292", .patch = patch_alc269 }, |
6370 | { .id = 0x10ec0293, .name = "ALC293", .patch = patch_alc269 }, | 6376 | { .id = 0x10ec0293, .name = "ALC293", .patch = patch_alc269 }, |
6377 | { .id = 0x10ec0298, .name = "ALC298", .patch = patch_alc269 }, | ||
6371 | { .id = 0x10ec0861, .rev = 0x100340, .name = "ALC660", | 6378 | { .id = 0x10ec0861, .rev = 0x100340, .name = "ALC660", |
6372 | .patch = patch_alc861 }, | 6379 | .patch = patch_alc861 }, |
6373 | { .id = 0x10ec0660, .name = "ALC660-VD", .patch = patch_alc861vd }, | 6380 | { .id = 0x10ec0660, .name = "ALC660-VD", .patch = patch_alc861vd }, |