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:
parent
c4c94b5f55
commit
960615c328
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user