[alsa-devel] [PATCH 1/2] ASoC: sgtl5000: fix wrong register MIC_BIAS_VOLTAGE setup on probe
Gianluca Renzi
gianlucarenzi at eurekelettronica.it
Fri Sep 25 21:33:41 CEST 2015
Cc: Liam Girdwood <lgirdwood at gmail.com>
Cc: Takashi Iwai <tiwai at suse.com>
Cc: Fabio Estevam <fabio.estevam at freescale.com>
Cc: alsa-devel at alsa-project.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Gianluca Renzi <gianlucarenzi at eurekelettronica.it>
---
sound/soc/codecs/sgtl5000.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/sound/soc/codecs/sgtl5000.c 2015-09-25 15:24:10.597051191 +0200
+++ b/sound/soc/codecs/sgtl5000.c 2015-09-25 21:26:07.102020194 +0200
@@ -1376,8 +1376,8 @@ static int sgtl5000_probe(struct snd_soc
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:
More information about the Alsa-devel
mailing list