Merge "leds: qpnp-flash-v2: add delay between LMH mitigation and LED strobe"

This commit is contained in:
Linux Build Service Account 2017-02-15 06:11:24 -08:00 committed by Gerrit - the friendly Code Review server
commit 326d8d9480

View file

@ -1076,6 +1076,8 @@ static int qpnp_flash_led_switch_set(struct flash_switch_data *snode, bool on)
pr_err("trigger lmh mitigation failed, rc=%d\n", rc);
return rc;
}
/* Wait for LMH mitigation to take effect */
udelay(500);
}
if (led->trigger_chgr) {