RealTek Inverted Mic Patch

From: Nathanael D. Noblet
Date: Thu Aug 15 2013 - 16:49:08 EST


I have hardware that suffers from an internal phase inverted mic that isn't properly detected. Below is a patch that fixes the issue for my particular hardware.

Pre patch alsa-info:

Post patch alsa-info:

Incase you care. The patch is small. I don't know if you need any kind of signed off/written by etc for something so small. In any case there is no intellectual property in this at all. Feel free to do as you wish with it. However including it in the kernel would make my life easier.

Nathanael d. Noblet
t 403.875.4613
--- a/sound/pci/hda/ 2013-08-15 13:17:49.804492932 -0600
+++ b/sound/pci/hda/patch_realtek.c 2013-08-15 13:18:40.582364931 -0600
@@ -4208,6 +4208,7 @@
SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD),
SND_PCI_QUIRK(0x19da, 0xa130, "Zotac Z68", ALC662_FIXUP_ZOTAC_Z68),
SND_PCI_QUIRK(0x1b35, 0x2206, "CZC P10T", ALC662_FIXUP_CZC_P10T),
+ SND_PCI_QUIRK(0x1025, 0x034a, "Gateway LT27", ALC662_FIXUP_INV_DMIC),

#if 0
/* Below is a quirk table taken from the old code.