asoc: codec: wcd9378: increase delay for gpio reset
While doing B2B reboots sometime wcd slaves are not getting enumerated, so adding delay for reset of gpios helping to resolve enumeration failures for slaves. Change-Id: Icc9eadb1002ee817d10afc0abce240b044b7c065 Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
This commit is contained in:
parent
09a307c6b7
commit
525cbce56a
@ -4125,7 +4125,7 @@ static int wcd9378_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(wcd9378->rst_np);
|
||||
if (rc) {
|
||||
@ -4134,7 +4134,7 @@ static int wcd9378_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);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user