mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
parent
2a0f6e2bf4
commit
106bde7f45
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue