From: Axel Lin Date: Wed, 19 Oct 2011 03:00:42 +0000 (+0800) Subject: ASoC: sgtl5000: Fix setting mic bias resistor X-Git-Tag: v3.2-rc1~127^2~1^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc56c5a862d1491dcdc561241371949cca6362e1;p=pandora-kernel.git ASoC: sgtl5000: Fix setting mic bias resistor According to the datasheet: CHIP_MIC_CTRL 0x002A BITS[9:8] BIAS_RESISTOR 0x0 = Powerd off 0x1 = 2.0 kohm 0x2 = 4.0 kohm 0x3 = 8.0 kohm To set mic bias resistor, we need to update bits[9:8] of SGTL5000_CHIP_MIC_CTRL register. Signed-off-by: Axel Lin Acked-by: Wolfram Sang Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed