asoc: cdc: wcd939x: update sleep time during reset

updated sleep time to 80us from 20us after updating the
reset gpio pin from sleep to active state to give ample time
for HW to reset the pin state to active, to resolve the
component registration issue which is seen on stability
runs.

Change-Id: Icd13bf36d56906553352e595d07e478c23d1c13d
Signed-off-by: sarath varma ganapathiraju <quic_ganavarm@quicinc.com>
此提交包含在:
sarath varma ganapathiraju
2024-02-19 15:44:58 +05:30
提交者 Sarath Varma Ganapathiraju
父節點 fd9066b9b0
當前提交 dc14f27e9e

查看文件

@@ -4709,7 +4709,7 @@ static int wcd939x_reset(struct device *dev)
return -EPROBE_DEFER;
}
/* 20us sleep required after pulling the reset gpio to LOW */
usleep_range(20, 30);
usleep_range(80, 85);
rc = msm_cdc_pinctrl_select_active_state(wcd939x->rst_np);
if (rc) {
@@ -4718,7 +4718,7 @@ static int wcd939x_reset(struct device *dev)
return -EPROBE_DEFER;
}
/* 20us sleep required after pulling the reset gpio to HIGH */
usleep_range(20, 30);
usleep_range(80, 85);
/* Set OVP threshold to 4.2V after reset */
#if IS_ENABLED(CONFIG_QCOM_WCD_USBSS_I2C)