Revert "clk: rockchip: fix error for unknown clocks"

This reverts commit 4f6362ca1c.
This commit is contained in:
Ksawlii 2024-11-24 00:23:02 +01:00
parent 9da3c4a880
commit 609a82bb00

View file

@ -442,13 +442,12 @@ void rockchip_clk_register_branches(struct rockchip_clk_provider *ctx,
struct rockchip_clk_branch *list,
unsigned int nr_clk)
{
struct clk *clk;
struct clk *clk = NULL;
unsigned int idx;
unsigned long flags;
for (idx = 0; idx < nr_clk; idx++, list++) {
flags = list->flags;
clk = NULL;
/* catch simple muxes */
switch (list->branch_type) {