mfd: qcom-i2c-pmic: Reduce the stat-toggle delay

Reduce the stat-toggle delays to 50ms (overall) to
optimize boot time.

Change-Id: I58027cb94500cf93eb42b44dcec9a5e68670b5e0
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
This commit is contained in:
Anirudh Ghayal 2020-04-29 12:21:10 +05:30
parent 4e1c68c592
commit 2840ea006a

View File

@ -552,7 +552,7 @@ static int i2c_pmic_toggle_stat(struct i2c_pmic *chip)
goto exit;
}
usleep_range(10000, 11000);
usleep_range(5000, 5500);
rc = regmap_write(chip->regmap,
chip->periph[0].addr | INT_TEST_VAL_OFFSET,
@ -570,7 +570,7 @@ static int i2c_pmic_toggle_stat(struct i2c_pmic *chip)
goto exit;
}
usleep_range(10000, 11000);
usleep_range(5000, 5500);
}
exit:
regmap_write(chip->regmap, chip->periph[0].addr | INT_TEST_OFFSET, 0);