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 C244B3B4489; Sat, 28 Feb 2026 17:38:47 +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=1772300327; cv=none; b=tzh+yWhfm6rmTzi3yMzsR0tW7Loqmdo17bxSP9cc+7dI7WSsaHTaYyCosYqpyhkyRUSFks10AIuIe0pXb4RkErVjKxzdObJBVFwivMjQXgWLeRkWMogIvPBusnV9aFndwnEmsRnrMxcjJehvLrHr1FJIBzrPvJO8QH0OGILoUC0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772300327; c=relaxed/simple; bh=/4RIoFWQvmnECXfpoZ2li00lAcsTSHybmqIwvfbhU54=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b/RrUch9MBDPEhEJ38dqWMKsuSB0R7ziS1SAAdoBFcViL860BgJSHjHskCY0Kzv6Ak8k5uykuGER+pHDHJdy3oo+BU7u+ohQ86yHhwXhYbV0xG0DL882LbftHMejNU6FE8Lsemr3woMq8STMUzV6O08YGEfEyUnONq2I7bsuM8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dKEnZ6P5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dKEnZ6P5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF930C19424; Sat, 28 Feb 2026 17:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772300327; bh=/4RIoFWQvmnECXfpoZ2li00lAcsTSHybmqIwvfbhU54=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dKEnZ6P56ixpUTKZp8RHbMlDATVbk7bU9r2DktZPwxpj1ClAdD/922X4wTqCnW0P0 1efKSP+5JcOvvraOxysHzndyasYyD9AjW4+S2M6FT+6mlz76dgfDHaC2QxqJaniiwL LFIGP4LodbT0+zjhBgw26iSoQSY/wIJVgsw9oHc8iyeyD2fUi8u9YRbVe22hIF+Xp2 FAHnhFw0huSngZeQJX8GL/AvBEF4KconquY+NWNSQF6gnxreJAHDngnD90TF0PSWIB nb2BaDJHn607SKipuehmyjmGNKGIgkIAPk/t6t18TNyGIP+VPJ7xAZQ+kpCE/evsbx etCDbQvRT1Z/w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Chuan Liu , Jerome Brunet , Sasha Levin Subject: [PATCH 6.19 359/844] clk: amlogic: remove potentially unsafe flags from S4 video clocks Date: Sat, 28 Feb 2026 12:24:32 -0500 Message-ID: <20260228173244.1509663-360-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260228173244.1509663-1-sashal@kernel.org> References: <20260228173244.1509663-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Chuan Liu [ Upstream commit 4aca7e92023cac5018b4053bae324450f884c937 ] The video clocks enci, encp, vdac and hdmitx share the same clock source. Adding CLK_SET_RATE_PARENT to the mux may unintentionally change the shared parent clock, which could affect other video clocks. Signed-off-by: Chuan Liu Link: https://lore.kernel.org/r/20250919-add_video_clk-v6-3-fe223161fb3f@amlogic.com Signed-off-by: Jerome Brunet Signed-off-by: Sasha Levin --- drivers/clk/meson/s4-peripherals.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/clk/meson/s4-peripherals.c b/drivers/clk/meson/s4-peripherals.c index 6d69b132d1e1f..bab4f5700de47 100644 --- a/drivers/clk/meson/s4-peripherals.c +++ b/drivers/clk/meson/s4-peripherals.c @@ -1106,7 +1106,6 @@ static struct clk_regmap s4_cts_enci_sel = { .ops = &clk_regmap_mux_ops, .parent_hws = s4_cts_parents, .num_parents = ARRAY_SIZE(s4_cts_parents), - .flags = CLK_SET_RATE_PARENT, }, }; @@ -1122,7 +1121,6 @@ static struct clk_regmap s4_cts_encp_sel = { .ops = &clk_regmap_mux_ops, .parent_hws = s4_cts_parents, .num_parents = ARRAY_SIZE(s4_cts_parents), - .flags = CLK_SET_RATE_PARENT, }, }; @@ -1138,7 +1136,6 @@ static struct clk_regmap s4_cts_vdac_sel = { .ops = &clk_regmap_mux_ops, .parent_hws = s4_cts_parents, .num_parents = ARRAY_SIZE(s4_cts_parents), - .flags = CLK_SET_RATE_PARENT, }, }; @@ -1169,7 +1166,6 @@ static struct clk_regmap s4_hdmi_tx_sel = { .ops = &clk_regmap_mux_ops, .parent_hws = s4_hdmi_tx_parents, .num_parents = ARRAY_SIZE(s4_hdmi_tx_parents), - .flags = CLK_SET_RATE_PARENT, }, }; -- 2.51.0