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

Commit ea0752c8 authored by Sudheer Papothi's avatar Sudheer Papothi Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd9330: Optimize delay after micbias enable



Cold start input latency is higher than the target by
around 8msec during recording usecase. During device
path bring, after micbias getting enabled, there is
20msec sleep that is contributing for cold start input
latency. This change optimize the delay after micbias
enable to avoid latency.

Change-Id: I5ba6ea52150185fd57e1ae295b4b6a1daf3ea8ee
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent 3350499c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3539,7 +3539,7 @@ static int tomtom_codec_enable_micbias(struct snd_soc_dapm_widget *w,
		}
		break;
	case SND_SOC_DAPM_POST_PMU:
		usleep_range(20000, 20100);
		usleep_range(5000, 5100);
		/* Let MBHC module know so micbias is on */
		wcd9xxx_resmgr_notifier_call(&tomtom->resmgr, e_post_on);
		break;