[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220823111725.3134377-1-keguang.zhang@gmail.com>
Date: Tue, 23 Aug 2022 19:17:25 +0800
From: Keguang Zhang <keguang.zhang@...il.com>
To: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Yang Ling <gnaygnil@...il.com>,
Keguang Zhang <keguang.zhang@...il.com>
Subject: [PATCH] MIPS: loongson32: ls1c: Fix hang during startup
From: Yang Ling <gnaygnil@...il.com>
The RTCCTRL reg of LS1C is obselete.
Writing this reg will cause system hang.
Fixes: 60219c563c9b6 ("MIPS: Add RTC support for Loongson1C board")
Signed-off-by: Yang Ling <gnaygnil@...il.com>
Tested-by: Keguang Zhang <keguang.zhang@...il.com>
Acked-by: Keguang Zhang <keguang.zhang@...il.com>
---
arch/mips/loongson32/ls1c/board.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/mips/loongson32/ls1c/board.c b/arch/mips/loongson32/ls1c/board.c
index e9de6da0ce51..9dcfe9de55b0 100644
--- a/arch/mips/loongson32/ls1c/board.c
+++ b/arch/mips/loongson32/ls1c/board.c
@@ -15,7 +15,6 @@ static struct platform_device *ls1c_platform_devices[] __initdata = {
static int __init ls1c_platform_init(void)
{
ls1x_serial_set_uartclk(&ls1x_uart_pdev);
- ls1x_rtc_set_extclk(&ls1x_rtc_pdev);
return platform_add_devices(ls1c_platform_devices,
ARRAY_SIZE(ls1c_platform_devices));
base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868
--
2.34.1
Powered by blists - more mailing lists