mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-23 02:18:59 -05:00
ASoC: sgtl5000: fix wrong register MIC_BIAS_VOLTAGE setup on probe
Signed-off-by: Gianluca Renzi <gianlucarenzi@eurekelettronica.it> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
This commit is contained in:
committed by
Mark Brown
parent
fb97d75b03
commit
e256da84a0
@@ -1376,8 +1376,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:
|
||||
|
||||
Reference in New Issue
Block a user