
On 1/11/22 4:18 PM, Johan Jonker wrote:
The rk3066 cru node has a number of assigned-clocks properties that call the .set_rate() function. Add them to the list so that they return a 0 instead of -ENOENT.
Signed-off-by: Johan Jonker jbx6244@gmail.com
drivers/clk/rockchip/clk_rk3066.c | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/drivers/clk/rockchip/clk_rk3066.c b/drivers/clk/rockchip/clk_rk3066.c index 804aa43b..17777a45 100644 --- a/drivers/clk/rockchip/clk_rk3066.c +++ b/drivers/clk/rockchip/clk_rk3066.c @@ -573,6 +573,15 @@ static ulong rk3066_clk_set_rate(struct clk *clk, ulong rate) case SCLK_TSADC: new_rate = rk3066_clk_saradc_set_clk(cru, rate, clk->id); break;
- case PLL_CPLL:
- case PLL_GPLL:
- case ACLK_CPU:
- case HCLK_CPU:
- case PCLK_CPU:
- case ACLK_PERI:
- case HCLK_PERI:
- case PCLK_PERI:
default: return -ENOENT; }return 0;
These 3 patches look good, but I don't understand why they aren't squashed in with the first patch.
--Sean