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

Commit 4c2301d0 authored by Meng Wang's avatar Meng Wang Committed by Gerrit - the friendly Code Review server
Browse files

ASoc: wcd934x: correct MAD micbias setting



As per register definition in software interface, the
bitmask for Micbias selection in wcd934x MAD setup should
be 0x07, not 0x03. Correct the bitmask setting.

Change-Id: I475d1219ae62378a90c69642f2320149d0f13885
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent bcd8ec92
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5132,7 +5132,7 @@ static int tavil_mad_input_put(struct snd_kcontrol *kcontrol,
	snd_soc_update_bits(codec, WCD934X_SOC_MAD_INP_SEL,
			    0x0F, tavil_mad_input);
	snd_soc_update_bits(codec, WCD934X_ANA_MAD_SETUP,
			    0x03, mic_bias_found);
			    0x07, mic_bias_found);

	return 0;
}