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

Commit 09029330 authored by Vatsal Bucha's avatar Vatsal Bucha Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd937x: Add change to micbias reg for new tanggu fab id



Add change to micbias reg for new tanggu fab id.

Change-Id: I9bfa54c6ee3b87db56e72c1fefb4d4f0db461f14
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 5b6268cf
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -178,6 +178,12 @@ static int wcd937x_init_reg(struct snd_soc_component *component)
				0xFF, 0xFA);
	snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_1,
				0xFF, 0xFA);
	snd_soc_component_update_bits(component, WCD937X_MICB1_TEST_CTL_2,
				      0x38, 0x00);
	snd_soc_component_update_bits(component, WCD937X_MICB2_TEST_CTL_2,
				      0x38, 0x00);
	snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_2,
				      0x38, 0x00);
	/* Set Bandgap Fine Adjustment to +5mV for Tanggu SMIC part */
	if (snd_soc_component_read32(component, WCD937X_DIGITAL_EFUSE_REG_16)
	    == 0x01) {