diff options
author | Tony Lindgren <tony@atomide.com> | 2019-05-27 04:51:54 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-05-28 05:19:15 -0700 |
commit | bd808f9a442301e493fe0bb3168774b4da7bb605 (patch) | |
tree | 8b4478968b017d0fa8000921cfd407b1226d5d86 | |
parent | e0db94fe87dacd72be0699adcc29e321db7f1689 (diff) |
bus: ti-sysc: Allow QUIRK_LEGACY_IDLE even if legacy_mode is not set
We need to specify QUIRK_LEGACY_IDLE for device drivers that still have
pm_runtime_irq_safe() set like 8250.
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | drivers/bus/ti-sysc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index f4a048430cd1..412973829adc 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -1792,9 +1792,6 @@ static struct dev_pm_domain sysc_child_pm_domain = { */ static void sysc_legacy_idle_quirk(struct sysc *ddata, struct device *child) { - if (!ddata->legacy_mode) - return; - if (ddata->cfg.quirks & SYSC_QUIRK_LEGACY_IDLE) dev_pm_domain_set(child, &sysc_child_pm_domain); } |