Thread (44 messages) 44 messages, 2 authors, 2021-11-28
STALE1679d REVIEWED: 1 (0M)
Revisions (3)
  1. v14 [diff vs current]
  2. v15 current
  3. v16 [diff vs current]

[PATCH v15 31/39] soc/tegra: pmc: Rename core power domain

From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-11-14 19:44:30
Also in: dri-devel, linux-clk, linux-mmc, linux-pwm, linux-tegra, 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.

Reviewed-by: Ulf Hansson <redacted>
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 e1fae1a5e36a..de6234ec4f9b 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -1369,7 +1369,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.33.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help