Merge "asoc: cdc: wcd939x: update sleep time during reset"

This commit is contained in:
qctecmdr 2024-03-08 04:29:51 -08:00 committed by Gerrit - the friendly Code Review server
commit 5468c31c20

View File

@ -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)