ALSA: hda/realtek - update ALC215 depop optimize
authorKailang Yang <kailang@realtek.com>
Wed, 17 Jan 2018 07:32:03 +0000 (15:32 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 Jan 2018 11:14:35 +0000 (12:14 +0100)
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>
sound/pci/hda/patch_realtek.c

index 2efba4b..0004e28 100644 (file)
@@ -7042,6 +7042,8 @@ static int patch_alc269(struct hda_codec *codec)
        case 0x10ec0285:
        case 0x10ec0289:
                spec->codec_variant = ALC269_TYPE_ALC215;
+               spec->shutup = alc225_shutup;
+               spec->init_hook = alc225_init;
                spec->gen.mixer_nid = 0;
                break;
        case 0x10ec0225: