Commit 4c7f5fec authored by Yang Ling's avatar Yang Ling Committed by Jialin Zhang
Browse files

MIPS: loongson32: ls1c: Fix hang during startup

stable inclusion
from stable-v5.10.143
commit 586f8c8330b72b316cb9a83695ef1f1e62ac6fec
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0U6

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=586f8c8330b72b316cb9a83695ef1f1e62ac6fec



--------------------------------

[ Upstream commit 35508d24 ]

The RTCCTRL reg of LS1C is obselete.
Writing this reg will cause system hang.

Fixes: 60219c56 ("MIPS: Add RTC support for Loongson1C board")
Signed-off-by: default avatarYang Ling <gnaygnil@gmail.com>
Tested-by: default avatarKeguang Zhang <keguang.zhang@gmail.com>
Acked-by: default avatarKeguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ddc766f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment