mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 12:11:59 +02:00
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
a76d4015ec
commit
d830f22612
|
|
@ -553,7 +553,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,
|
||||
|
|
@ -571,7 +571,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