]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ALSA: hda/realtek - No loopback on ALC225/ALC295 codec
authorKailang Yang <kailang@realtek.com>
Fri, 21 Jul 2017 09:15:07 +0000 (17:15 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2017 09:33:10 +0000 (11:33 +0200)
ALC225/ALC295 also have no loopback mixer.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index b42a421d12885dc021b2f462a24d27e8e052b1ea..443a45eaec3267d98ba9a3f12c5da128b762cfce 100644 (file)
@@ -6805,6 +6805,7 @@ static int patch_alc269(struct hda_codec *codec)
        case 0x10ec0225:
        case 0x10ec0295:
                spec->codec_variant = ALC269_TYPE_ALC225;
+               spec->gen.mixer_nid = 0; /* no loopback on ALC225 ALC295 */
                break;
        case 0x10ec0299:
                spec->codec_variant = ALC269_TYPE_ALC225;