Commit db120b6f authored by Gianluca Renzi's avatar Gianluca Renzi Committed by Greg Kroah-Hartman

ASoC: sgtl5000: fix wrong register MIC_BIAS_VOLTAGE setup on probe

commit e256da84 upstream.
Signed-off-by: default avatarGianluca Renzi <gianlucarenzi@eurekelettronica.it>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 795d7120
...@@ -1377,8 +1377,8 @@ static int sgtl5000_probe(struct snd_soc_codec *codec) ...@@ -1377,8 +1377,8 @@ static int sgtl5000_probe(struct snd_soc_codec *codec)
sgtl5000->micbias_resistor << SGTL5000_BIAS_R_SHIFT); sgtl5000->micbias_resistor << SGTL5000_BIAS_R_SHIFT);
snd_soc_update_bits(codec, SGTL5000_CHIP_MIC_CTRL, snd_soc_update_bits(codec, SGTL5000_CHIP_MIC_CTRL,
SGTL5000_BIAS_R_MASK, SGTL5000_BIAS_VOLT_MASK,
sgtl5000->micbias_voltage << SGTL5000_BIAS_R_SHIFT); sgtl5000->micbias_voltage << SGTL5000_BIAS_VOLT_SHIFT);
/* /*
* disable DAP * disable DAP
* TODO: * TODO:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment