From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47F9332A3FD; Wed, 8 Apr 2026 18:56:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775674582; cv=none; b=vFaCotkEvFYqP1te+/Xoma8ZM5uecEQpckdpGpaDE0yWIICpFK7+3Bu5z2vdlOCx3kcg/wqOZqHXTCBhxhOEle5qIVZqn0raXotuUbOQ+c3mXfSGRCvKoKNMvj0HriJQ4Mg8RK8cCaOBRUSjgJaBI6Ux8AjdpSEBRUdNHvQEIlY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775674582; c=relaxed/simple; bh=L6ZHPYQcLK8r5i/N1Emvm5HXJM47mBuAt+719YtRlWE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kcuMlepP3Tb9R4sWn8of1hD5lS+8i+BZ28SF6GOiD5aRgu3OPf21VJZER5oJQjpx8Y0R7K/Lg2u+66ZOpXmS6Y5cjLYS4JwFTjyWtDdDdIC1Oz7KC9LjNPR4estmtqABR3+aZTEBxMfHobU3sfVrNCIVlVshyf2dNnxzqMz770o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ERKuxGdL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ERKuxGdL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1EB5C19421; Wed, 8 Apr 2026 18:56:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775674582; bh=L6ZHPYQcLK8r5i/N1Emvm5HXJM47mBuAt+719YtRlWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ERKuxGdLiGnKng52YQEtd0cjyXkqaLpFMOQa8piUkrShSMZ83JdqLiDff+wKq45eC YQSZQJdCpDuaP2YfnsOOwd01ePGGKIhvmKrfwnSSSj5fULzXzYY0WL2/6+4FUo4vFR nG0+kYrsYdUicuQURb3znSVDFTeAjrP3PaCs79b4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Mieczyslaw Nalewaj , Shiji Yang , Sergio Paracuellos , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 6.19 154/311] mips: ralink: update CPU clock index Date: Wed, 8 Apr 2026 20:02:34 +0200 Message-ID: <20260408175945.157443893@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260408175939.393281918@linuxfoundation.org> References: <20260408175939.393281918@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Shiji Yang [ Upstream commit 43985a62bab9d35e5e9af41118ce2f44c01b97d2 ] Update CPU clock index to match the clock driver changes. Fixes: d34db686a3d7 ("clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs") Signed-off-by: Mieczyslaw Nalewaj Signed-off-by: Shiji Yang Reviewed-by: Sergio Paracuellos Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/ralink/clk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c index 9db73fcac522e..5c1eb46ef5d07 100644 --- a/arch/mips/ralink/clk.c +++ b/arch/mips/ralink/clk.c @@ -21,16 +21,16 @@ static const char *clk_cpu(int *idx) { switch (ralink_soc) { case RT2880_SOC: - *idx = 0; + *idx = 1; return "ralink,rt2880-sysc"; case RT3883_SOC: - *idx = 0; + *idx = 1; return "ralink,rt3883-sysc"; case RT305X_SOC_RT3050: - *idx = 0; + *idx = 1; return "ralink,rt3050-sysc"; case RT305X_SOC_RT3052: - *idx = 0; + *idx = 1; return "ralink,rt3052-sysc"; case RT305X_SOC_RT3350: *idx = 1; -- 2.53.0