diff mbox series

clk: rockchip: export ACLK_VCODEC for RK3036

Message ID 20210528140736.79686-1-knaerzche@gmail.com (mailing list archive)
State New, archived
Headers show
Series clk: rockchip: export ACLK_VCODEC for RK3036 | expand

Commit Message

Alex Bee May 28, 2021, 2:07 p.m. UTC
It is required for the series at [1] to let hantro driver aquire the
clock and set the rate for RK3036 correctly, but I didn't want to
add a patch for yet another subsystem to this series.

[1] https://lore.kernel.org/linux-media/20210525152225.154302-1-knaerzche@gmail.com/

Signed-off-by: Alex Bee <knaerzche@gmail.com>
---
 drivers/clk/rockchip/clk-rk3036.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heiko Stübner May 28, 2021, 5:32 p.m. UTC | #1
On Fri, 28 May 2021 16:07:36 +0200, Alex Bee wrote:
> It is required for the series at [1] to let hantro driver aquire the
> clock and set the rate for RK3036 correctly, but I didn't want to
> add a patch for yet another subsystem to this series.
> 
> [1] https://lore.kernel.org/linux-media/20210525152225.154302-1-knaerzche@gmail.com/

Applied, thanks!

[1/1] clk: rockchip: export ACLK_VCODEC for RK3036
      commit: 2adafc0512625bbd090dc37a353ddda15d525e9d

Best regards,
diff mbox series

Patch

diff --git a/drivers/clk/rockchip/clk-rk3036.c b/drivers/clk/rockchip/clk-rk3036.c
index 91d56ad45817..614845cc5b4a 100644
--- a/drivers/clk/rockchip/clk-rk3036.c
+++ b/drivers/clk/rockchip/clk-rk3036.c
@@ -259,7 +259,7 @@  static struct rockchip_clk_branch rk3036_clk_branches[] __initdata = {
 			RK2928_CLKGATE_CON(1), 13, GFLAGS,
 			&rk3036_uart2_fracmux),
 
-	COMPOSITE(0, "aclk_vcodec", mux_pll_src_3plls_p, 0,
+	COMPOSITE(ACLK_VCODEC, "aclk_vcodec", mux_pll_src_3plls_p, 0,
 			RK2928_CLKSEL_CON(32), 14, 2, MFLAGS, 8, 5, DFLAGS,
 			RK2928_CLKGATE_CON(3), 11, GFLAGS),
 	FACTOR_GATE(HCLK_VCODEC, "hclk_vcodec", "aclk_vcodec", 0, 1, 4,