From: Philipp Zabel
Date: Wed, 19 Jul 2017 15:25:05 +0000 (+0200)
Subject: ARM: rockchip: explicitly request exclusive reset control in smp code
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da45adf97f57a561fc290e7cdd3a3dcb184cc88e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git
ARM: rockchip: explicitly request exclusive reset control in smp code
Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
reset lines") started to transition the reset control request API calls
to explicitly state whether the driver needs exclusive or shared reset
control behavior. Convert all drivers requesting exclusive resets to the
explicit API call so the temporary transition helpers can be removed.
No functional changes.
Cc: Heiko Stuebner
Cc: linux-rockchip@lists.infradead.org
Signed-off-by: Philipp Zabel
Signed-off-by: Heiko Stuebner
---
diff --git a/arch/arm/mach-rockchip/platsmp.c b/arch/arm/mach-rockchip/platsmp.c
index 3abafdbdd7f4..420ba6765223 100644
--- a/arch/arm/mach-rockchip/platsmp.c
+++ b/arch/arm/mach-rockchip/platsmp.c
@@ -67,7 +67,7 @@ static struct reset_control *rockchip_get_core_reset(int cpu)
else
np = of_get_cpu_node(cpu, NULL);
- return of_reset_control_get(np, NULL);
+ return of_reset_control_get_exclusive(np, NULL);
}
static int pmu_set_power_domain(int pd, bool on)