Signed-off-by: Ahmad Fatoum <[email protected]>
---
drivers/clk/rockchip/clk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c
index 613b168b4d96..6e7bba414fe7 100644
--- a/drivers/clk/rockchip/clk.c
+++ b/drivers/clk/rockchip/clk.c
@@ -565,6 +565,8 @@ void rockchip_register_restart_notifier(struct
rockchip_clk_provider *ctx,
ctx->restart_handler.restart = rockchip_restart,
ctx->restart_handler.priority = RESTART_DEFAULT_PRIORITY,
+ ctx->reg_restart = reg;
+
ret = restart_handler_register(&ctx->restart_handler);
if (ret)
pr_err("%s: cannot register restart handler, %d\n",
--
2.29.2
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox