]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pmdomain: arm: scmi_pm_domain: set flag GENPD_FLAG_ACTIVE_WAKEUP
authorPeng Fan <peng.fan@nxp.com>
Tue, 14 May 2024 13:18:33 +0000 (21:18 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 5 Jun 2024 09:54:43 +0000 (11:54 +0200)
commite5cddc34067acf7848f63c014761ed232172f027
tree7f7b7836785750a76a5a4a42e7ad8061db3e5dd8
parent196e9f5bf2c566682f52fb6a25276794dded2fe9
pmdomain: arm: scmi_pm_domain: set flag GENPD_FLAG_ACTIVE_WAKEUP

Set flag GENPD_FLAG_ACTIVE_WAKEUP to scmi genpd, then when a device
is set as wakeup source using device_set_wakeup_enable, the power
domain could be kept on to make sure the device could wakeup the system.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20240514131833.911703-1-peng.fan@oss.nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/arm/scmi_pm_domain.c