]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: HDA: Fix digital microphone on CS420x
authorDaniel J Blueman <daniel@quora.org>
Sun, 4 Nov 2012 05:19:03 +0000 (13:19 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 16 Nov 2012 16:47:08 +0000 (16:47 +0000)
commitf385bbf0ada36111df8069110e386556dcd94279
treedf9b7d4bb67aadba0c1f327f3172db68dafaa859
parenta28f21520d0f525681f1ced0c72265548558b0cc
ALSA: HDA: Fix digital microphone on CS420x

commit 16337e028a6dae9fbdd718c0d42161540a668ff3 upstream.

Correctly enable the digital microphones with the right bits in the
right coeffecient registers on Cirrus CS4206/7 codecs. It also
prevents misconfiguring ADC1/2.

This fixes the digital mic on the Macbook Pro 10,1/Retina.

Based-on-patch-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Daniel J Blueman <daniel@quora.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/patch_cirrus.c