ALSA: hda - Fix internal mic for Lenovo Ideapad U300s
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 2 Apr 2012 13:40:27 +0000 (15:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 13:44:23 +0000 (06:44 -0700)
commitcae4d9a21738dce33a18f533c703b42f59e55244
tree4b76a1b303aed72d4d7c179223ab993eacb7f371
parent88e7e71df070e9d863f9378a0c00be70e821708a
ALSA: hda - Fix internal mic for Lenovo Ideapad U300s

commit 18dcd3044e4c4b3ab6341c98e8d0e81e0d58d5e3 upstream.

The internal mic input is phase inverted on one channel.
To avoid people in userspace summing the channels together
and get zero result, use a separate mixer control for the
inverted channel.

BugLink: https://bugs.launchpad.net/bugs/903853
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[wml: Backported to 3.4:
 - Adjust context
 - one more enum value CXT_PINCFG_LENOVO_TP410
 - Change both invocations of apply_pin_fixup()]
Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.com>
sound/pci/hda/patch_conexant.c