fogo: vibrator: increase the Vreg_Ready timeout

Increase the timeout from 1ms to 2ms to fix the issue to vibrator
LDO enable fail issue.

Change-Id: I7a71d1bc46c103149fdce7ccf42f658ef445720f
Signed-off-by: wuwl10 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2777439
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <[email protected]>
Reviewed-by: Hujun Liao <[email protected]>
Submit-Approved: Jira Key
This commit is contained in:
wuwl10 2023-10-26 14:32:28 +08:00 • committed by Xiaojun Ji
commit 106bde7f45

View file

@ -67,7 +67,7 @@ static inline int qpnp_vib_ldo_poll_status(struct vib_ldo_chip *chip)
ret = regmap_read_poll_timeout(chip->regmap,
chip->base + QPNP_VIB_LDO_REG_STATUS1, val,
val & QPNP_VIB_LDO_VREG_READY, 100, 1000);
val & QPNP_VIB_LDO_VREG_READY, 100, 2000);
if (ret < 0) {
pr_err("Vibrator LDO vreg_ready timeout, status=0x%02x, ret=%d\n",
val, ret);