summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorYang Ling <gnaygnil@gmail.com>2022-08-23 19:17:25 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-15 12:17:06 +0200
commit14bf8fe67a6643b7610e0a88cfb1442cad073b89 (patch)
tree8f996374a3bbc36db9cc0e4935c7c2c5e7f6bf1b /arch/mips
parentc7d4745b033d580c1d547cdd18c6689486889784 (diff)
downloadlinux-stable-14bf8fe67a6643b7610e0a88cfb1442cad073b89.tar.gz
linux-stable-14bf8fe67a6643b7610e0a88cfb1442cad073b89.tar.bz2
linux-stable-14bf8fe67a6643b7610e0a88cfb1442cad073b89.zip
MIPS: loongson32: ls1c: Fix hang during startup
[ Upstream commit 35508d2424097f9b6a1a17aac94f702767035616 ] 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@gmail.com> Tested-by: Keguang Zhang <keguang.zhang@gmail.com> Acked-by: Keguang Zhang <keguang.zhang@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/loongson32/ls1c/board.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/loongson32/ls1c/board.c b/arch/mips/loongson32/ls1c/board.c
index eb2d913c694f..2d9675a6782c 100644
--- a/arch/mips/loongson32/ls1c/board.c
+++ b/arch/mips/loongson32/ls1c/board.c
@@ -19,7 +19,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));