mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
pmdomain: core: Convert to device_awake_path()
As device_wakeup_path() is intended to be removed, let's switch to use the device_awake_path() instead. No functional change. Acked-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20250425113942.134458-1-ulf.hansson@linaro.org
This commit is contained in:
parent
0c1ddc7bb3
commit
54ce9aa582
|
|
@ -1508,7 +1508,7 @@ static int genpd_finish_suspend(struct device *dev,
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
if (device_wakeup_path(dev) && genpd_is_active_wakeup(genpd))
|
||||
if (device_awake_path(dev) && genpd_is_active_wakeup(genpd))
|
||||
return 0;
|
||||
|
||||
if (genpd->dev_ops.stop && genpd->dev_ops.start &&
|
||||
|
|
@ -1563,7 +1563,7 @@ static int genpd_finish_resume(struct device *dev,
|
|||
if (IS_ERR(genpd))
|
||||
return -EINVAL;
|
||||
|
||||
if (device_wakeup_path(dev) && genpd_is_active_wakeup(genpd))
|
||||
if (device_awake_path(dev) && genpd_is_active_wakeup(genpd))
|
||||
return resume_noirq(dev);
|
||||
|
||||
genpd_lock(genpd);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user