Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e256da84 authored by Gianluca Renzi's avatar Gianluca Renzi Committed by Mark Brown
Browse files

ASoC: sgtl5000: fix wrong register MIC_BIAS_VOLTAGE setup on probe



Signed-off-by: default avatarGianluca Renzi <gianlucarenzi@eurekelettronica.it>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
parent fb97d75b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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: