Thread (41 messages) flat view 41 messages, 3 authors, 2021-10-15
STALE1807d

Revision v12 of 4 in this series.

Revisions (4)
  1. v8 [diff vs current]
  2. v11 [diff vs current]
  3. v12 current
  4. v13 [diff vs current]

[PATCH v12 29/35] soc/tegra: pmc: Rename core power domain

From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-09-21 02:15:19
Also in: dri-devel, linux-clk, linux-devicetree, linux-mmc, linux-pm, linux-pwm, linux-tegra, linux-usb, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

CORE power domain uses name of device-tree node, which is inconsistent with
the names of PMC domains. Set the name to "core" to make it consistent.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 drivers/soc/tegra/pmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 6759f19b9cd6..3e52ceada60c 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -1353,7 +1353,7 @@ static int tegra_pmc_core_pd_add(struct tegra_pmc *pmc, struct device_node *np)
 	if (!genpd)
 		return -ENOMEM;
 
-	genpd->name = np->name;
+	genpd->name = "core";
 	genpd->set_performance_state = tegra_pmc_core_pd_set_performance_state;
 	genpd->opp_to_performance_state = tegra_pmc_core_pd_opp_to_performance_state;
 
-- 
2.32.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help