ALSA: hda - Add workaround for MacBook Air 5,2 built-in mic
authorTakashi Iwai <tiwai@suse.de>
Thu, 12 Mar 2015 19:47:15 +0000 (20:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 12:59:44 +0000 (13:59 +0100)
commitc8bdcd4cb80bd033661f349824b0a9ecac133620
tree564752cf0f8192b4dea3da933c2eb9d697bd65ad
parent3718eb979b46bfc8fad21451fa7c2dd6a244d536
ALSA: hda - Add workaround for MacBook Air 5,2 built-in mic

commit 2ddee91abe9cc34ddb6294ee14702b46ae07d460 upstream.

MacBook Air 5,2 has the same problem as MacBook Pro 8,1 where the
built-in mic records only the right channel.  Apply the same
workaround as MBP8,1 to spread the mono channel via a Cirrus codec
vendor-specific COEF setup.

Reported-and-tested-by: Vasil Zlatanov <vasil.zlatanov@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_cirrus.c