asoc: codecs: wcd9360: add delay after LDO_RXTX enable

Add delay after LDO_RXTX supply is enabled as per
hardware register sequence.

Change-Id: I588d36c6c13ae8f545aba2b2cf6d1c73fde08d0a
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
This commit is contained in:
Vidyakumar Athota
2018-03-01 16:25:16 -08:00
committed by Gerrit - the friendly Code Review server
parent da56c67bc4
commit a3030c162c

View File

@@ -1630,6 +1630,11 @@ static int pahu_codec_enable_ldo_rxtx(struct snd_soc_dapm_widget *w,
snd_soc_update_bits(codec, WCD9360_LDORXTX_LDORXTX,
0x80, 0x80);
/*
* 200us sleep is required after LDO_RXTX is enabled as per
* HW requirement
*/
usleep_range(200, 250);
}
break;
case SND_SOC_DAPM_POST_PMD: