Merge "leds: qpnp-flash-v2: add delay between LMH mitigation and LED strobe"
This commit is contained in:
commit
326d8d9480
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue