Move kernel config and patches to kernel 6.6. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
From 645a5198ddba6d6b2dea8346ca796064e931a0c3 Mon Sep 17 00:00:00 2001
|
|
From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
|
|
Date: Sun, 2 Apr 2023 11:42:06 +0200
|
|
Subject: [PATCH] clk: rockchip: Remove values for mmask and nmask in struct
|
|
clk_fractional_divider
|
|
|
|
Now that fractional_divider clk computes mmask and nmask when needed, there
|
|
is no more need to provide them explicitly anymore.
|
|
|
|
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
|
|
Link: https://lore.kernel.org/r/58e1950566e40e2fbb31004baee57a164ca6a390.1680423909.git.christophe.jaillet@wanadoo.fr
|
|
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
|
|
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
|
|
---
|
|
drivers/clk/rockchip/clk.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
--- a/drivers/clk/rockchip/clk.c
|
|
+++ b/drivers/clk/rockchip/clk.c
|
|
@@ -245,10 +245,8 @@ static struct clk *rockchip_clk_register
|
|
div->reg = base + muxdiv_offset;
|
|
div->mshift = 16;
|
|
div->mwidth = 16;
|
|
- div->mmask = GENMASK(div->mwidth - 1, 0) << div->mshift;
|
|
div->nshift = 0;
|
|
div->nwidth = 16;
|
|
- div->nmask = GENMASK(div->nwidth - 1, 0) << div->nshift;
|
|
div->lock = lock;
|
|
div->approximation = rockchip_fractional_approximation;
|
|
div_ops = &clk_fractional_divider_ops;
|