Commit 7fbdcd83 authored by Kailang Yang's avatar Kailang Yang Committed by Takashi Iwai

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

Enable new codec supported for ALC245.
Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/8c0804738b2c42439f59c39c8437817f@realtek.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 59e1947c
...@@ -377,6 +377,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec) ...@@ -377,6 +377,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
case 0x10ec0233: case 0x10ec0233:
case 0x10ec0235: case 0x10ec0235:
case 0x10ec0236: case 0x10ec0236:
case 0x10ec0245:
case 0x10ec0255: case 0x10ec0255:
case 0x10ec0256: case 0x10ec0256:
case 0x10ec0257: case 0x10ec0257:
...@@ -8198,6 +8199,7 @@ static int patch_alc269(struct hda_codec *codec) ...@@ -8198,6 +8199,7 @@ static int patch_alc269(struct hda_codec *codec)
spec->gen.mixer_nid = 0; spec->gen.mixer_nid = 0;
break; break;
case 0x10ec0215: case 0x10ec0215:
case 0x10ec0245:
case 0x10ec0285: case 0x10ec0285:
case 0x10ec0289: case 0x10ec0289:
spec->codec_variant = ALC269_TYPE_ALC215; spec->codec_variant = ALC269_TYPE_ALC215;
...@@ -9459,6 +9461,7 @@ static const struct hda_device_id snd_hda_id_realtek[] = { ...@@ -9459,6 +9461,7 @@ static const struct hda_device_id snd_hda_id_realtek[] = {
HDA_CODEC_ENTRY(0x10ec0234, "ALC234", patch_alc269), HDA_CODEC_ENTRY(0x10ec0234, "ALC234", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0235, "ALC233", patch_alc269), HDA_CODEC_ENTRY(0x10ec0235, "ALC233", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0236, "ALC236", patch_alc269), HDA_CODEC_ENTRY(0x10ec0236, "ALC236", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0245, "ALC245", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0255, "ALC255", patch_alc269), HDA_CODEC_ENTRY(0x10ec0255, "ALC255", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0256, "ALC256", patch_alc269), HDA_CODEC_ENTRY(0x10ec0256, "ALC256", patch_alc269),
HDA_CODEC_ENTRY(0x10ec0257, "ALC257", patch_alc269), HDA_CODEC_ENTRY(0x10ec0257, "ALC257", 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