Commit ccc9da36 authored by Kailang Yang's avatar Kailang Yang Committed by Greg Kroah-Hartman

ALSA: hda/realtek - Add new codec supported for ALC287

[ Upstream commit 630e3612 ]

Enable new codec supported for ALC287.
Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/dcf5ce5507104d0589a917cbb71dc3c6@realtek.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 59edcbe0
...@@ -387,6 +387,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec) ...@@ -387,6 +387,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
case 0x10ec0282: case 0x10ec0282:
case 0x10ec0283: case 0x10ec0283:
case 0x10ec0286: case 0x10ec0286:
case 0x10ec0287:
case 0x10ec0288: case 0x10ec0288:
case 0x10ec0285: case 0x10ec0285:
case 0x10ec0298: case 0x10ec0298:
...@@ -7840,6 +7841,7 @@ static int patch_alc269(struct hda_codec *codec) ...@@ -7840,6 +7841,7 @@ static int patch_alc269(struct hda_codec *codec)
case 0x10ec0215: case 0x10ec0215:
case 0x10ec0245: case 0x10ec0245:
case 0x10ec0285: case 0x10ec0285:
case 0x10ec0287:
case 0x10ec0289: case 0x10ec0289:
spec->codec_variant = ALC269_TYPE_ALC215; spec->codec_variant = ALC269_TYPE_ALC215;
spec->shutup = alc225_shutup; spec->shutup = alc225_shutup;
...@@ -8978,6 +8980,7 @@ static const struct hda_device_id snd_hda_id_realtek[] = { ...@@ -8978,6 +8980,7 @@ static const struct hda_device_id snd_hda_id_realtek[] = {
HDA_CODEC_ENTRY(0x10ec0284, "ALC284", patch_alc269), HDA_CODEC_ENTRY(0x10ec0284, "ALC284", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0285, "ALC285", patch_alc269), HDA_CODEC_ENTRY(0x10ec0285, "ALC285", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0286, "ALC286", patch_alc269), HDA_CODEC_ENTRY(0x10ec0286, "ALC286", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0287, "ALC287", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0288, "ALC288", patch_alc269), HDA_CODEC_ENTRY(0x10ec0288, "ALC288", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0289, "ALC289", patch_alc269), HDA_CODEC_ENTRY(0x10ec0289, "ALC289", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0290, "ALC290", patch_alc269), HDA_CODEC_ENTRY(0x10ec0290, "ALC290", patch_alc269),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment