From nobody Mon Apr 6 00:30:37 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 901C9ECAAD8 for ; Tue, 13 Sep 2022 16:59:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232077AbiIMQ71 (ORCPT ); Tue, 13 Sep 2022 12:59:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231955AbiIMQ7E (ORCPT ); Tue, 13 Sep 2022 12:59:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74BDE89CFB; Tue, 13 Sep 2022 08:50:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7CAA1B80FA6; Tue, 13 Sep 2022 14:37:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D98F8C433B5; Tue, 13 Sep 2022 14:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663079859; bh=ojvWfJ+hbalWUIRKhw1goJH5jDX4yV0o04EEXy313Js=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nHD9VkkE+lXIl9v+xR7UdSwi/pPD+14CfP0EtqiueVpb1P5J6kOBvZNk+NxI0zFzd UeNcYFtyIFRm7NWll6YVs8OLhSSuTdTy2tU4glDxRnzQaYivtwvtH2w5JdcKuhr5yx H3BoP0yupjTNqiT7D/tGf8ku3dHkywJdNPZY7B3k= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yang Ling , Keguang Zhang , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 4.9 41/42] MIPS: loongson32: ls1c: Fix hang during startup Date: Tue, 13 Sep 2022 16:08:12 +0200 Message-Id: <20220913140344.468916704@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140342.228397194@linuxfoundation.org> References: <20220913140342.228397194@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Yang Ling [ 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 Tested-by: Keguang Zhang Acked-by: Keguang Zhang Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- 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 a96bed5e3ea60..ac1c5e6572d5f 100644 --- a/arch/mips/loongson32/ls1c/board.c +++ b/arch/mips/loongson32/ls1c/board.c @@ -18,7 +18,6 @@ static struct platform_device *ls1c_platform_devices[] __= initdata =3D { static int __init ls1c_platform_init(void) { ls1x_serial_set_uartclk(&ls1x_uart_pdev); - ls1x_rtc_set_extclk(&ls1x_rtc_pdev); =20 return platform_add_devices(ls1c_platform_devices, ARRAY_SIZE(ls1c_platform_devices)); --=20 2.35.1