projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0db94f
)
bus: ti-sysc: Allow QUIRK_LEGACY_IDLE even if legacy_mode is not set
author
Tony Lindgren
<tony@atomide.com>
Mon, 27 May 2019 11:51:54 +0000
(
04:51
-0700)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 28 May 2019 12:19:15 +0000
(
05:19
-0700)
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>
drivers/bus/ti-sysc.c
patch
|
blob
|
history
diff --git
a/drivers/bus/ti-sysc.c
b/drivers/bus/ti-sysc.c
index f4a048430cd161f240757368bf0a90ee89a7b002..412973829adcd380859a29e6342821b1860b1506 100644
(file)
--- 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);
}