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

Commit cfea4669 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 8afd153a 2840ea00
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);