aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2018-01-17 02:32:03 -0500
committerTakashi Iwai <tiwai@suse.de>2018-01-17 06:14:35 -0500
commit1b6832be1b61f63ef367e48050617e870a46b417 (patch)
treeb7c9de172451ad75e87d7797d42e46c695daf793
parentc2b691ee35004ba3d5428cf48672cbbf1a50fbfb (diff)
ALSA: hda/realtek - update ALC215 depop optimize
Add ALC215 its own depop functions for alc_init and alc_shutup. Assign it to ALC225 usage. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2efba4bd9f2b..0004e282a837 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7042,6 +7042,8 @@ static int patch_alc269(struct hda_codec *codec)
7042 case 0x10ec0285: 7042 case 0x10ec0285:
7043 case 0x10ec0289: 7043 case 0x10ec0289:
7044 spec->codec_variant = ALC269_TYPE_ALC215; 7044 spec->codec_variant = ALC269_TYPE_ALC215;
7045 spec->shutup = alc225_shutup;
7046 spec->init_hook = alc225_init;
7045 spec->gen.mixer_nid = 0; 7047 spec->gen.mixer_nid = 0;
7046 break; 7048 break;
7047 case 0x10ec0225: 7049 case 0x10ec0225: