summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/pmdomain/ti/ti_sci_pm_domains.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pmdomain/ti/ti_sci_pm_domains.c b/drivers/pmdomain/ti/ti_sci_pm_domains.c
index e5d1934f78d9..18d33bc35dee 100644
--- a/drivers/pmdomain/ti/ti_sci_pm_domains.c
+++ b/drivers/pmdomain/ti/ti_sci_pm_domains.c
@@ -91,8 +91,9 @@ static inline void ti_sci_pd_set_wkup_constraint(struct device *dev)
* If device can wakeup using IO daisy chain wakeups,
* we do not want to set a constraint.
*/
- if (dev->power.wakeirq) {
- dev_dbg(dev, "%s: has wake IRQ, not setting constraints\n", __func__);
+ if (device_out_band_wakeup(dev)) {
+ dev_dbg(dev, "%s: has out of band wakeup, not setting constraints\n", \
+ __func__);
return;
}