]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda - Fix digital-mic mono recording on ASUS Eee PC
authorTakashi Iwai <tiwai@suse.de>
Wed, 3 Aug 2011 05:48:37 +0000 (07:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Aug 2011 13:21:13 +0000 (15:21 +0200)
commitadabb3ec8b0bcbd2ca81973d33c3da726b939c7c
tree9f7780b73244c211d04670e95bdecf8bf810a4a7
parent9f3b24948f22e4e21e961bd514c2089d24f0938e
ALSA: hda - Fix digital-mic mono recording on ASUS Eee PC

The digital-mic unit on ASUS Eee PC gives PDM signals instead of the
normal stereo PCM, thus you can't record a mono stream from the stereo
stream as is; the summed stereo signal results in almost zero level, and
you'll hear only soft noise.

As a workaround, use ALC269-specific COEF to manipulate the dmic route
for mono, like used for ALC271x.  This is implemented as a fix-up, thus
it works only with model=auto or without REALTEK_QUIRKS Kconfig.

Reported-and-tested-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c