ALSA: HDA: Fix digital microphone on CS420x
commit16337e028a6dae9fbdd718c0d42161540a668ff3
authorDaniel J Blueman <daniel@quora.org>
Sun, 4 Nov 2012 05:19:03 +0000 (4 13:19 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 5 Nov 2012 11:28:30 +0000 (5 12:28 +0100)
tree08e55fc46df003c9ab634ae22c20371744871f05
parent5a83b4b5a391f07141b157ac9daa51c409e71ab5
ALSA: HDA: Fix digital microphone on CS420x

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c