MIPS: loongson32: ls1c: Fix hang during startup
authorYang Ling <gnaygnil@gmail.com>
Tue, 23 Aug 2022 11:17:25 +0000 (19:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 10:39:46 +0000 (12:39 +0200)
commita260a029d7d187d3ac0916a2528adab34789d9c6
treead5407b89645029be8cdfd63ca51e94bf3a5d778
parent55db1f46f0bfa3ce57db71e72f2bc97420e43be1
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>
arch/mips/loongson32/ls1c/board.c