Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

MIPS: loongson32: ls1c: Fix hang during startup

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>

authored by

Yang Ling and committed by
Thomas Bogendoerfer
35508d24 568035b0

-1
-1
arch/mips/loongson32/ls1c/board.c
··· 15 15 static int __init ls1c_platform_init(void) 16 16 { 17 17 ls1x_serial_set_uartclk(&ls1x_uart_pdev); 18 - ls1x_rtc_set_extclk(&ls1x_rtc_pdev); 19 18 20 19 return platform_add_devices(ls1c_platform_devices, 21 20 ARRAY_SIZE(ls1c_platform_devices));