diff options
Diffstat (limited to 'drivers/clk/starfive/clk-starfive-jh7110-sys.c')
-rw-r--r-- | drivers/clk/starfive/clk-starfive-jh7110-sys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/starfive/clk-starfive-jh7110-sys.c b/drivers/clk/starfive/clk-starfive-jh7110-sys.c index da01a750efcd..a8a2d0b5a226 100644 --- a/drivers/clk/starfive/clk-starfive-jh7110-sys.c +++ b/drivers/clk/starfive/clk-starfive-jh7110-sys.c @@ -506,6 +506,7 @@ static int __init jh7110_syscrg_probe(struct platform_device *pdev) clk->hw.init = &init; clk->idx = idx; clk->max_div = max & JH71X0_CLK_DIV_MASK; + clk->reg_flags = JH7110_CLK_SYS_FLAG; ret = devm_clk_hw_register(&pdev->dev, &clk->hw); if (ret) @@ -516,7 +517,7 @@ static int __init jh7110_syscrg_probe(struct platform_device *pdev) if (ret) return ret; - ret = jh7110_reset_controller_register(priv, "rst-sys", 0); + ret = jh7110_reset_controller_register(priv, "rst-sys", JH7110_CLK_SYS_FLAG); if (ret) return ret; |