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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:49:39 +0000 (03:49 +0100)
commitf07416a892d7670aea981ef74b7e0a2cfcb99d29
treebfb4a552060797702665c1f057ed9599faeee6e6
parent927ba3c8a63892480157f13ba912c04ef9d4b012
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>
[bwh: Backported to 3.2:
 - Adjust context
 - Change both invocations of apply_pin_fixup()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/patch_conexant.c