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>
This commit is contained in:
parent
a385a52925
commit
01afd41f55
|
@ -16308,6 +16308,9 @@ static int patch_alc662(struct hda_codec *codec)
|
||||||
if (codec->vendor_id == 0x10ec0663) {
|
if (codec->vendor_id == 0x10ec0663) {
|
||||||
spec->stream_name_analog = "ALC663 Analog";
|
spec->stream_name_analog = "ALC663 Analog";
|
||||||
spec->stream_name_digital = "ALC663 Digital";
|
spec->stream_name_digital = "ALC663 Digital";
|
||||||
|
} else if (codec->vendor_id == 0x10ec0272) {
|
||||||
|
spec->stream_name_analog = "ALC272 Analog";
|
||||||
|
spec->stream_name_digital = "ALC272 Digital";
|
||||||
} else {
|
} else {
|
||||||
spec->stream_name_analog = "ALC662 Analog";
|
spec->stream_name_analog = "ALC662 Analog";
|
||||||
spec->stream_name_digital = "ALC662 Digital";
|
spec->stream_name_digital = "ALC662 Digital";
|
||||||
|
@ -16345,6 +16348,7 @@ struct hda_codec_preset snd_hda_preset_realtek[] = {
|
||||||
{ .id = 0x10ec0267, .name = "ALC267", .patch = patch_alc268 },
|
{ .id = 0x10ec0267, .name = "ALC267", .patch = patch_alc268 },
|
||||||
{ .id = 0x10ec0268, .name = "ALC268", .patch = patch_alc268 },
|
{ .id = 0x10ec0268, .name = "ALC268", .patch = patch_alc268 },
|
||||||
{ .id = 0x10ec0269, .name = "ALC269", .patch = patch_alc269 },
|
{ .id = 0x10ec0269, .name = "ALC269", .patch = patch_alc269 },
|
||||||
|
{ .id = 0x10ec0272, .name = "ALC272", .patch = patch_alc662 },
|
||||||
{ .id = 0x10ec0861, .rev = 0x100340, .name = "ALC660",
|
{ .id = 0x10ec0861, .rev = 0x100340, .name = "ALC660",
|
||||||
.patch = patch_alc861 },
|
.patch = patch_alc861 },
|
||||||
{ .id = 0x10ec0660, .name = "ALC660-VD", .patch = patch_alc861vd },
|
{ .id = 0x10ec0660, .name = "ALC660-VD", .patch = patch_alc861vd },
|
||||||
|
|
Loading…
Reference in New Issue