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

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

Merge "leds: qti-flash: Replace usleep_range with mdelay"

parents 5111a263 22181c12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ static int qti_flash_poll_vreg_ok(struct qti_flash_led *led)

	for (i = 0; i < 60; i++) {
		/* wait for the flash vreg_ok to be set */
		usleep_range(5000, 5500);
		mdelay(5);

		rc = power_supply_get_property(led->main_psy,
					POWER_SUPPLY_PROP_FLASH_TRIGGER, &pval);