Commit 220848c8 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

power: pm_power_state_exit_post_ops has to unlock irqs



The kernel expects irqs be unlocked after this function be called.
Add it to the weak function in case of the SoC or application has not
implemented it.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 57025570
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -72,7 +72,11 @@ __weak void pm_power_state_exit_post_ops(struct pm_state_info info)
	/*
	 * This function is supposed to be overridden to do SoC or
	 * architecture specific post ops after sleep state exits.
	 *
	 * The kernel expects that irqs are unlocked after this.
	 */

	irq_unlock(0);
}

__weak void pm_power_state_set(struct pm_state_info info)