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)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:07:25 +0000 (13:07 +0000)
commit24d3f90148a264fab88e0d2c191ed65eb9ed428b
tree2672371b95e071ad8e3444bbd09c565131b761ec
parent701c40886cb41d2f7c61f03b4fc33e9831efcc5d
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