From: Tony Lindgren Date: Mon, 27 May 2019 11:51:54 +0000 (-0700) Subject: bus: ti-sysc: Allow QUIRK_LEGACY_IDLE even if legacy_mode is not set X-Git-Tag: v5.3-rc1~20^2~12^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd808f9a442301e493fe0bb3168774b4da7bb605;p=thirdparty%2Flinux.git 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 Signed-off-by: Tony Lindgren --- diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index f4a048430cd16..412973829adcd 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); }