unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 68c21da3abc6c7c58e6306c1d38bbaccda9a1805 899 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
From b867286f70ce1368a0536ba45846f318473736e0 Mon Sep 17 00:00:00 2001
From: Tobias Schramm <t.schramm@manjaro.org>
Date: Tue, 16 Jun 2020 21:29:29 +0200
Subject: [PATCH 22/22] soc: rockchip: Port rockchip_pm_config driver to Linux
 5.8

Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
---
 drivers/soc/rockchip/rockchip_pm_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/rockchip/rockchip_pm_config.c b/drivers/soc/rockchip/rockchip_pm_config.c
index 43b2e0f33343..07a0ff9465d3 100644
--- a/drivers/soc/rockchip/rockchip_pm_config.c
+++ b/drivers/soc/rockchip/rockchip_pm_config.c
@@ -99,7 +99,7 @@ static void rockchip_pm_virt_pwroff_prepare(void)
 
 	regulator_suspend_prepare(PM_SUSPEND_MEM);
 
-	error = disable_nonboot_cpus();
+	error = freeze_secondary_cpus(0);
 	if (error) {
 		pr_err("Disable nonboot cpus failed!\n");
 		return;
-- 
2.30.0


debug log:

solving 68c21da3ab ...
found 68c21da3ab in https://git.savannah.gnu.org/cgit/guix.git

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).