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

Add ALCS1200A supported.
It was similar as ALC900.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/a9bd3cdaa02d4fa197623448d5c51e50@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Kailang Yang 2020-01-03 16:24:06 +08:00 committed by Takashi Iwai
parent 48e01504cf
commit 6d9ffcff64
1 changed files with 3 additions and 0 deletions

View File

@ -430,6 +430,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
break; break;
case 0x10ec0899: case 0x10ec0899:
case 0x10ec0900: case 0x10ec0900:
case 0x10ec0b00:
case 0x10ec1168: case 0x10ec1168:
case 0x10ec1220: case 0x10ec1220:
alc_update_coef_idx(codec, 0x7, 1<<1, 0); alc_update_coef_idx(codec, 0x7, 1<<1, 0);
@ -2526,6 +2527,7 @@ static int patch_alc882(struct hda_codec *codec)
case 0x10ec0882: case 0x10ec0882:
case 0x10ec0885: case 0x10ec0885:
case 0x10ec0900: case 0x10ec0900:
case 0x10ec0b00:
case 0x10ec1220: case 0x10ec1220:
break; break;
default: default:
@ -9255,6 +9257,7 @@ static const struct hda_device_id snd_hda_id_realtek[] = {
HDA_CODEC_ENTRY(0x10ec0892, "ALC892", patch_alc662), HDA_CODEC_ENTRY(0x10ec0892, "ALC892", patch_alc662),
HDA_CODEC_ENTRY(0x10ec0899, "ALC898", patch_alc882), HDA_CODEC_ENTRY(0x10ec0899, "ALC898", patch_alc882),
HDA_CODEC_ENTRY(0x10ec0900, "ALC1150", patch_alc882), HDA_CODEC_ENTRY(0x10ec0900, "ALC1150", patch_alc882),
HDA_CODEC_ENTRY(0x10ec0b00, "ALCS1200A", patch_alc882),
HDA_CODEC_ENTRY(0x10ec1168, "ALC1220", patch_alc882), HDA_CODEC_ENTRY(0x10ec1168, "ALC1220", patch_alc882),
HDA_CODEC_ENTRY(0x10ec1220, "ALC1220", patch_alc882), HDA_CODEC_ENTRY(0x10ec1220, "ALC1220", patch_alc882),
{} /* terminator */ {} /* terminator */