Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2840ea00 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

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: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 4e1c68c5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);