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 9CB9126E166; Tue, 8 Apr 2025 12:34:08 +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=1744115648; cv=none; b=CKjCwthvM0IBFNiEJ3Ay3oF3tHxcFhnSaTwRoPUBV3qlGHGSoKH3emyFsaFnwdFSh0616n4lAYIglNbnjPlDE21IDfhAGWO2rYev3U/yKYJqm1RAIJjym54pnBdmhTuJBh9lrK3hsHWHx5flsQylsPngHyRNFoqw4d69w1F7Hi8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744115648; c=relaxed/simple; bh=HfPtBaexnRoo/SMYd3pnAJoE9sF9U+ybRNyGvb/zKKw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LK5Nxag2NNm2snFTb2+KvZkOPMgC6SOOxgMXC1F366VOrwpSZ4WcVH0S8uY8qDDC/lbGrG8Lq8lpnWUClf4ozkiLjpg8OGLuaD2sDQMmfsL1xPm0JL+lwxQWTO58XBRVLOKrtGjVR+X/Qe0vgeaoY5foBiNON/4lpt2wwY0G3iM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J87sCIHd; 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="J87sCIHd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F022C4CEE5; Tue, 8 Apr 2025 12:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744115648; bh=HfPtBaexnRoo/SMYd3pnAJoE9sF9U+ybRNyGvb/zKKw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J87sCIHdip/aTKa5Kj49OTjXc/tqC57DoWWesR52Pt0sHwjJWwyGaH+A0+/j7Ir/v peM96rybizFP4r2CoXLAiVwnUJmMeZ1y78UfY2fh1CWMI1hLiS1NAEfGqH/JmeDgSl mgIxnSGZdl/h54G30UEba0Vvd4ROIcn7dwiF/uE8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Neil Armstrong , Jerome Brunet , Sasha Levin Subject: [PATCH 6.1 052/204] clk: amlogic: gxbb: drop incorrect flag on 32k clock Date: Tue, 8 Apr 2025 12:49:42 +0200 Message-ID: <20250408104821.869411943@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104820.266892317@linuxfoundation.org> References: <20250408104820.266892317@linuxfoundation.org> User-Agent: quilt/0.68 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.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jerome Brunet [ Upstream commit f38f7fe4830c5cb4eac138249225f119e7939965 ] gxbb_32k_clk_div sets CLK_DIVIDER_ROUND_CLOSEST in the init_data flag which is incorrect. This is field is not where the divider flags belong. Thankfully, CLK_DIVIDER_ROUND_CLOSEST maps to bit 4 which is an unused clock flag, so there is no unintended consequence to this error. Effectively, the clock has been used without CLK_DIVIDER_ROUND_CLOSEST so far, so just drop it. Fixes: 14c735c8e308 ("clk: meson-gxbb: Add EE 32K Clock for CEC") Reviewed-by: Neil Armstrong Link: https://lore.kernel.org/r/20241220-amlogic-clk-gxbb-32k-fixes-v1-1-baca56ecf2db@baylibre.com Signed-off-by: Jerome Brunet Signed-off-by: Sasha Levin --- drivers/clk/meson/gxbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index 608e0e8ca49a8..48c47503ea752 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -1310,7 +1310,7 @@ static struct clk_regmap gxbb_32k_clk_div = { &gxbb_32k_clk_sel.hw }, .num_parents = 1, - .flags = CLK_SET_RATE_PARENT | CLK_DIVIDER_ROUND_CLOSEST, + .flags = CLK_SET_RATE_PARENT, }, }; -- 2.39.5