power_domain: intel_adsp: correct function call order
Changing function call order. We need to first power-up the power domain before we turn on the devices. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
This commit is contained in:
parent
c9d70bb986
commit
cdc39c9482
1 changed files with 1 additions and 1 deletions
|
|
@ -38,8 +38,8 @@ static int pd_intel_adsp_pm_action(const struct device *dev, enum pm_device_acti
|
|||
|
||||
switch (action) {
|
||||
case PM_DEVICE_ACTION_RESUME:
|
||||
pm_device_children_action_run(dev, PM_DEVICE_ACTION_TURN_ON, NULL);
|
||||
pd_intel_adsp_set_power_enable(reg_bits, true);
|
||||
pm_device_children_action_run(dev, PM_DEVICE_ACTION_TURN_ON, NULL);
|
||||
break;
|
||||
case PM_DEVICE_ACTION_SUSPEND:
|
||||
pm_device_children_action_run(dev, PM_DEVICE_ACTION_TURN_OFF, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue