Skip to content

system_power: accept the product does not support soc_wakeup_irq

Created by: masahisak

The product does not support or intend to use soc_wakeup_irq specifies FWK_INTERRUPT_NONE to mod_system_power_config.soc_wakeup_irq field. This commit checks that soc_wakeup_irq is valid before calling fwk_interrupt_disable(). Without this change, system shutdown fails because disable_all_irqs() returns FWK_E_DEVICE.

Signed-off-by: Masahisa Kojima Change-Id: I8b318649eec5da98093880360c3dd27f02205902

Merge request reports