From: Gianluca Renzi Date: Fri, 25 Sep 2015 19:33:41 +0000 (+0200) Subject: ASoC: sgtl5000: fix wrong register MIC_BIAS_VOLTAGE setup on probe X-Git-Tag: v4.2.4~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db120b6f5fa664cbd146b174737593140e27c2e4;p=thirdparty%2Fkernel%2Fstable.git ASoC: sgtl5000: fix wrong register MIC_BIAS_VOLTAGE setup on probe commit e256da84a04ea31c3c215997c847609af224e8f4 upstream. Signed-off-by: Gianluca Renzi Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index e673f6ceb5213..7c411297bfdd4 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -1377,8 +1377,8 @@ static int sgtl5000_probe(struct snd_soc_codec *codec) sgtl5000->micbias_resistor << SGTL5000_BIAS_R_SHIFT); snd_soc_update_bits(codec, SGTL5000_CHIP_MIC_CTRL, - SGTL5000_BIAS_R_MASK, - sgtl5000->micbias_voltage << SGTL5000_BIAS_R_SHIFT); + SGTL5000_BIAS_VOLT_MASK, + sgtl5000->micbias_voltage << SGTL5000_BIAS_VOLT_SHIFT); /* * disable DAP * TODO: