diff options
author | Kailang Yang <kailang@realtek.com> | 2017-01-16 09:59:26 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-01-16 10:18:38 +0100 |
commit | a535ad57d0e6b959cd79914a1127caade36a9459 (patch) | |
tree | 30298654a9dbdd6e0bb3ec7e08ce004a428bc829 /sound/pci | |
parent | ALSA: hda - Make single_cmd option to stop the fallback mechanism (diff) | |
download | linux-a535ad57d0e6b959cd79914a1127caade36a9459.tar.xz linux-a535ad57d0e6b959cd79914a1127caade36a9459.zip |
ALSA: hda/realtek - New codec support of ALC1220
Add support for new codec of ALC1220.
It's compatible with ALC882 & co.
Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3c6964793206..1c88da8a5cf4 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -380,6 +380,7 @@ static void alc_fill_eapd_coef(struct hda_codec *codec) break; case 0x10ec0899: case 0x10ec0900: + case 0x10ec1220: alc_update_coef_idx(codec, 0x7, 1<<1, 0); break; } @@ -2310,6 +2311,7 @@ static int patch_alc882(struct hda_codec *codec) case 0x10ec0882: case 0x10ec0885: case 0x10ec0900: + case 0x10ec1220: break; default: /* ALC883 and variants */ @@ -7297,6 +7299,7 @@ static const struct hda_device_id snd_hda_id_realtek[] = { HDA_CODEC_ENTRY(0x10ec0892, "ALC892", patch_alc662), HDA_CODEC_ENTRY(0x10ec0899, "ALC898", patch_alc882), HDA_CODEC_ENTRY(0x10ec0900, "ALC1150", patch_alc882), + HDA_CODEC_ENTRY(0x10ec1220, "ALC1220", patch_alc882), {} /* terminator */ }; MODULE_DEVICE_TABLE(hdaudio, snd_hda_id_realtek); |