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 922E0224F6; Tue, 8 Apr 2025 11:20:40 +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=1744111240; cv=none; b=gbsnmvIcJnEEsz40vHHPi/H3lBDe6PtJRtkDfIwYR9X5zFHA03Gy8qOGhLAl4/2qxsGEJF4ysXOTn0qfXjnn0diJ52uMZY86QpZkHdUkTHrnLydarYqJaVnT/r4boN0FWi4CWIOKwq2lzd5GztQYIw286cF684hKEqgJeVJQsDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744111240; c=relaxed/simple; bh=wfx/4TeLqIlB9eMYYi/0jDh+crIjD1BMLR2vDUFzlaw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DDM4ESfOiRv/4NMMMhlYAfrlT4zKZZnrO95stOSxuqIIizrbdtJGjNPo+sAJ0kg3PcA/hCRSaW1boHVStERgNszs7RB4V1IhPJw0irBO6NXQYtWnWOCsoUAkAzG9Un3NxxFoyCXDawITlQUKDr1VvFqmc6HVfZXz8EaCofrAHnc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m0TP6GEh; 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="m0TP6GEh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0D10C4CEE5; Tue, 8 Apr 2025 11:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744111240; bh=wfx/4TeLqIlB9eMYYi/0jDh+crIjD1BMLR2vDUFzlaw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m0TP6GEhhsxXHy/gBuBeD2A7f8CwMIY52VUZJxm5MCWUIJq6a2SSaSj81avGxSWAP 0i8RATBRhZdDi9yvNuKp88GSeiDzabqzxZAX0yblKp07WE1/0FqYro9VSV6x46NSEg 6Y/v0hZEsOzn0E4zJpBygRmeyLUdc8dlWnD6G1CU= 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.14 360/731] clk: amlogic: gxbb: drop incorrect flag on 32k clock Date: Tue, 8 Apr 2025 12:44:17 +0200 Message-ID: <20250408104922.646416978@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104914.247897328@linuxfoundation.org> References: <20250408104914.247897328@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.14-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 8575b84853859..df9250de51dc8 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -1306,7 +1306,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